lib/onfido/resources/address.rb in onfido-1.1.0 vs lib/onfido/resources/address.rb in onfido-1.1.1

- old
+ new

@@ -1,10 +1,7 @@ module Onfido class Address < Resource def all(postcode) - get( - path: 'addresses/pick', - payload: { postcode: postcode.delete(' ') } - ) + get(path: "addresses/pick?postcode=#{postcode.delete(' ')}") end end end