Class: Clova::Session::User
- Inherits:
-
Object
- Object
- Clova::Session::User
- Defined in:
- lib/clova-speech/session.rb
Instance Attribute Summary collapse
-
#access_token ⇒ Object
Returns the value of attribute access_token.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
Instance Method Summary collapse
-
#initialize(userId:, accessToken: nil) ⇒ User
constructor
A new instance of User.
Constructor Details
#initialize(userId:, accessToken: nil) ⇒ User
Returns a new instance of User.
16 17 18 19 |
# File 'lib/clova-speech/session.rb', line 16 def initialize(userId:, accessToken:nil) @user_id = userId @access_token = accessToken end |
Instance Attribute Details
#access_token ⇒ Object
Returns the value of attribute access_token.
14 15 16 |
# File 'lib/clova-speech/session.rb', line 14 def access_token @access_token end |
#user_id ⇒ Object
Returns the value of attribute user_id.
14 15 16 |
# File 'lib/clova-speech/session.rb', line 14 def user_id @user_id end |