Class: OneLogin::Api::Models::MFAToken
- Inherits:
-
Object
- Object
- OneLogin::Api::Models::MFAToken
- Defined in:
- lib/onelogin/api/models/mfa_token.rb
Instance Attribute Summary collapse
-
#expires_at ⇒ Object
Returns the value of attribute expires_at.
-
#reusable ⇒ Object
Returns the value of attribute reusable.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(data) ⇒ MFAToken
constructor
A new instance of MFAToken.
Constructor Details
#initialize(data) ⇒ MFAToken
Returns a new instance of MFAToken.
9 10 11 12 13 |
# File 'lib/onelogin/api/models/mfa_token.rb', line 9 def initialize(data) @value = data['mfa_token'] @expires_at = data['expires_at'] @reusable = data['reusable'] end |
Instance Attribute Details
#expires_at ⇒ Object
Returns the value of attribute expires_at.
7 8 9 |
# File 'lib/onelogin/api/models/mfa_token.rb', line 7 def expires_at @expires_at end |
#reusable ⇒ Object
Returns the value of attribute reusable.
7 8 9 |
# File 'lib/onelogin/api/models/mfa_token.rb', line 7 def reusable @reusable end |
#value ⇒ Object
Returns the value of attribute value.
7 8 9 |
# File 'lib/onelogin/api/models/mfa_token.rb', line 7 def value @value end |