Class: Dinie::BiometricsSessionExchangeResponse

Inherits:
Internal::Model show all
Defined in:
lib/dinie/generated/types/biometrics_session_exchange_response.rb

Constant Summary

Constants inherited from Internal::Model

Internal::Model::REDACTED_ATTRIBUTES

Class Method Summary collapse

Methods inherited from Internal::Model

#==, attribute, attributes, #deconstruct_keys, #hash, inherited, #initialize, #inspect, #to_h

Constructor Details

This class inherits a constructor from Dinie::Internal::Model

Class Method Details

.deserialize(raw) ⇒ Object



14
15
16
17
18
19
20
21
# File 'lib/dinie/generated/types/biometrics_session_exchange_response.rb', line 14

def self.deserialize(raw)
  new(
    access_token: raw[:access_token],
    customer_id: raw[:customer_id],
    expires_in: raw[:expires_in],
    token_type: raw[:token_type]
  )
end