Class: LibLynxAPI::Identification
- Inherits:
-
Object
- Object
- LibLynxAPI::Identification
- Defined in:
- lib/liblynx-api/client.rb
Instance Method Summary collapse
-
#create(body = {}) ⇒ Object
create a new identification resource to try and identify an account to link a new session with.
-
#info(identification_identity) ⇒ Object
retrieve a single identification object.
-
#initialize(client) ⇒ Identification
constructor
A new instance of Identification.
Constructor Details
#initialize(client) ⇒ Identification
Returns a new instance of Identification.
175 176 177 |
# File 'lib/liblynx-api/client.rb', line 175 def initialize(client) @client = client end |
Instance Method Details
#create(body = {}) ⇒ Object
create a new identification resource to try and identify an account to link a new session with
182 183 184 |
# File 'lib/liblynx-api/client.rb', line 182 def create(body = {}) @client.identification.create(body) end |
#info(identification_identity) ⇒ Object
retrieve a single identification object
189 190 191 |
# File 'lib/liblynx-api/client.rb', line 189 def info(identification_identity) @client.identification.info(identification_identity) end |