Class: Yonder::Session
- Inherits:
-
Object
- Object
- Yonder::Session
- Defined in:
- lib/yonder/session.rb
Instance Attribute Summary collapse
-
#access_token ⇒ Object
Returns the value of attribute access_token.
-
#refresh_token ⇒ Object
Returns the value of attribute refresh_token.
-
#user_did ⇒ Object
Returns the value of attribute user_did.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(user_did:, access_token:, refresh_token:) ⇒ Session
constructor
A new instance of Session.
Constructor Details
#initialize(user_did:, access_token:, refresh_token:) ⇒ Session
Returns a new instance of Session.
15 16 17 18 19 |
# File 'lib/yonder/session.rb', line 15 def initialize(user_did:, access_token:, refresh_token:) @user_did = user_did @access_token = access_token @refresh_token = refresh_token end |
Instance Attribute Details
#access_token ⇒ Object
Returns the value of attribute access_token.
4 5 6 |
# File 'lib/yonder/session.rb', line 4 def access_token @access_token end |
#refresh_token ⇒ Object
Returns the value of attribute refresh_token.
5 6 7 |
# File 'lib/yonder/session.rb', line 5 def refresh_token @refresh_token end |
#user_did ⇒ Object
Returns the value of attribute user_did.
3 4 5 |
# File 'lib/yonder/session.rb', line 3 def user_did @user_did end |