Sha256: 95500c106b8f7d66c645b5a73e902d98f21358ab15214ec08f3fb888ef42bcd5

Contents?: true

Size: 192 Bytes

Versions: 20

Compression:

Stored size: 192 Bytes

Contents

module Onfido
  class Address < Resource
    def all(postcode)
      get(
        url: url_for('addresses/pick'),
        payload: { postcode: postcode.delete(' ') }
      )
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
onfido-0.15.0 lib/onfido/resources/address.rb
onfido-0.14.0 lib/onfido/resources/address.rb
onfido-0.13.0 lib/onfido/resources/address.rb
onfido-0.12.0 lib/onfido/resources/address.rb
onfido-0.11.0 lib/onfido/resources/address.rb
onfido-0.10.0 lib/onfido/resources/address.rb
onfido-0.9.0 lib/onfido/resources/address.rb
onfido-0.8.4 lib/onfido/resources/address.rb
onfido-0.8.3 lib/onfido/resources/address.rb
onfido-0.8.2 lib/onfido/resources/address.rb
onfido-0.8.1 lib/onfido/resources/address.rb
onfido-0.7.1 lib/onfido/resources/address.rb
onfido-0.7.0 lib/onfido/resources/address.rb
onfido-0.6.1 lib/onfido/resources/address.rb
onfido-0.6.0 lib/onfido/resources/address.rb
onfido-0.5.0 lib/onfido/resources/address.rb
onfido-0.4.0 lib/onfido/resources/address.rb
onfido-0.3.0 lib/onfido/address.rb
onfido-0.2.0 lib/onfido/address.rb
onfido-0.1.0 lib/onfido/address.rb