Class: Dinie::BiometricsSession

Inherits:
Internal::Model show all
Defined in:
lib/dinie/generated/types/biometrics_session.rb,
sig/dinie/generated/types/biometrics_session.rbs

Constant Summary

Constants inherited from Internal::Model

Internal::Model::REDACTED_ATTRIBUTES

Instance Attribute Summary collapse

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

Instance Attribute Details

#expires_at ⇒ Integer (readonly)

Returns the value of attribute expires_at.

Returns:

  • (Integer)


6
7
8
# File 'sig/dinie/generated/types/biometrics_session.rbs', line 6

def expires_at
  @expires_at
end

#session_url ⇒ String (readonly)

Returns the value of attribute session_url.

Returns:

  • (String)


7
8
9
# File 'sig/dinie/generated/types/biometrics_session.rbs', line 7

def session_url
  @session_url
end

Class Method Details

.deserialize(raw) ⇒ BiometricsSession

Parameters:

  • raw (Hash[Symbol, untyped])

Returns:



9
10
11
12
13
14
# File 'lib/dinie/generated/types/biometrics_session.rb', line 9

def self.deserialize(raw)
  new(
    expires_at: raw[:expires_at],
    session_url: raw[:session_url]
  )
end