Class: Onfido::Address
- Defined in:
- lib/onfido/resources/address.rb
Constant Summary
Constants inherited from Resource
Resource::REQUEST_TIMEOUT_HTTP_CODE, Resource::VALID_HTTP_METHODS
Instance Method Summary collapse
Methods inherited from Resource
Constructor Details
This class inherits a constructor from Onfido::Resource
Instance Method Details
#all(postcode) ⇒ Object
3 4 5 6 7 8 |
# File 'lib/onfido/resources/address.rb', line 3 def all(postcode) get( path: 'addresses/pick', payload: { postcode: postcode.delete(' ') } ) end |