Sha256: 62b3f01b73e952839e717c525ae71b67bbbbe1f14057588c92a4036aca327d56

Contents?: true

Size: 190 Bytes

Versions: 4

Compression:

Stored size: 190 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

4 entries across 4 versions & 1 rubygems

Version Path
onfido-0.0.4 lib/onfido/address.rb
onfido-0.0.3 lib/onfido/address.rb
onfido-0.0.2 lib/onfido/address.rb
onfido-0.0.1 lib/onfido/address.rb