Class: LoggedUser
- Inherits:
-
Object
- Object
- LoggedUser
- Includes:
- ActiveModel::Serializers::JSON
- Defined in:
- lib/chino_ruby.rb
Overview
——————————AUTH———————————–#
Instance Attribute Summary collapse
-
#access_token ⇒ Object
Returns the value of attribute access_token.
-
#expires_in ⇒ Object
Returns the value of attribute expires_in.
-
#refresh_token ⇒ Object
Returns the value of attribute refresh_token.
-
#scope ⇒ Object
Returns the value of attribute scope.
-
#token_type ⇒ Object
Returns the value of attribute token_type.
Instance Method Summary collapse
Instance Attribute Details
#access_token ⇒ Object
Returns the value of attribute access_token.
403 404 405 |
# File 'lib/chino_ruby.rb', line 403 def access_token @access_token end |
#expires_in ⇒ Object
Returns the value of attribute expires_in.
403 404 405 |
# File 'lib/chino_ruby.rb', line 403 def expires_in @expires_in end |
#refresh_token ⇒ Object
Returns the value of attribute refresh_token.
403 404 405 |
# File 'lib/chino_ruby.rb', line 403 def refresh_token @refresh_token end |
#scope ⇒ Object
Returns the value of attribute scope.
403 404 405 |
# File 'lib/chino_ruby.rb', line 403 def scope @scope end |
#token_type ⇒ Object
Returns the value of attribute token_type.
403 404 405 |
# File 'lib/chino_ruby.rb', line 403 def token_type @token_type end |
Instance Method Details
#attributes ⇒ Object
411 412 413 |
# File 'lib/chino_ruby.rb', line 411 def attributes instance_values end |
#attributes=(hash) ⇒ Object
405 406 407 408 409 |
# File 'lib/chino_ruby.rb', line 405 def attributes=(hash) hash.each do |key, value| send("#{key}=", value) end end |