4 changed files with 17 additions and 2 deletions
@ -0,0 +1,6 @@
|
||||
class PostcodeService |
||||
|
||||
def self.clean(postcode) |
||||
postcode.encode("ASCII", "UTF-8", invalid: :replace, undef: :replace, replace: "") |
||||
end |
||||
end |
Loading…
Reference in new issue