Class: Moov::SDKHooks::Session
- Inherits:
-
Object
- Object
- Moov::SDKHooks::Session
- Extended by:
- T::Sig
- Defined in:
- lib/moov/sdk_hooks/clientcredentials.rb
Instance Attribute Summary collapse
-
#credentials ⇒ Object
readonly
Returns the value of attribute credentials.
-
#expires_at ⇒ Object
readonly
Returns the value of attribute expires_at.
-
#scopes ⇒ Object
readonly
Returns the value of attribute scopes.
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize(credentials:, token:, scopes:, expires_at: nil) ⇒ Session
constructor
A new instance of Session.
Constructor Details
#initialize(credentials:, token:, scopes:, expires_at: nil) ⇒ Session
Returns a new instance of Session.
74 75 76 77 78 79 |
# File 'lib/moov/sdk_hooks/clientcredentials.rb', line 74 def initialize(credentials:, token:, scopes:, expires_at: nil) @credentials = credentials @token = token @scopes = scopes @expires_at = expires_at end |
Instance Attribute Details
#credentials ⇒ Object (readonly)
Returns the value of attribute credentials.
55 56 57 |
# File 'lib/moov/sdk_hooks/clientcredentials.rb', line 55 def credentials @credentials end |
#expires_at ⇒ Object (readonly)
Returns the value of attribute expires_at.
64 65 66 |
# File 'lib/moov/sdk_hooks/clientcredentials.rb', line 64 def expires_at @expires_at end |
#scopes ⇒ Object (readonly)
Returns the value of attribute scopes.
61 62 63 |
# File 'lib/moov/sdk_hooks/clientcredentials.rb', line 61 def scopes @scopes end |
#token ⇒ Object (readonly)
Returns the value of attribute token.
58 59 60 |
# File 'lib/moov/sdk_hooks/clientcredentials.rb', line 58 def token @token end |