lib/onfido/resources/address.rb in onfido-1.1.1 vs lib/onfido/resources/address.rb in onfido-2.0.0
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
module Onfido
class Address < Resource
def all(postcode)
get(path: "addresses/pick?postcode=#{postcode.delete(' ')}")
end