Class: Moov::SDKHooks::Session

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/moov/sdk_hooks/clientcredentials.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#credentialsObject (readonly)

Returns the value of attribute credentials.



55
56
57
# File 'lib/moov/sdk_hooks/clientcredentials.rb', line 55

def credentials
  @credentials
end

#expires_atObject (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

#scopesObject (readonly)

Returns the value of attribute scopes.



61
62
63
# File 'lib/moov/sdk_hooks/clientcredentials.rb', line 61

def scopes
  @scopes
end

#tokenObject (readonly)

Returns the value of attribute token.



58
59
60
# File 'lib/moov/sdk_hooks/clientcredentials.rb', line 58

def token
  @token
end