Class: Footstats::Request::Auth
- Inherits:
-
Object
- Object
- Footstats::Request::Auth
- Defined in:
- lib/footstats/request/auth.rb
Instance Attribute Summary collapse
-
#password ⇒ Object
readonly
Returns the value of attribute password.
-
#token ⇒ Object
readonly
Returns the value of attribute token.
-
#user ⇒ Object
readonly
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Auth
constructor
A new instance of Auth.
Constructor Details
#initialize(options = {}) ⇒ Auth
Returns a new instance of Auth.
8 9 10 |
# File 'lib/footstats/request/auth.rb', line 8 def initialize( = {}) @token = [:token] end |
Instance Attribute Details
#password ⇒ Object (readonly)
Returns the value of attribute password.
4 5 6 |
# File 'lib/footstats/request/auth.rb', line 4 def password @password end |
#token ⇒ Object (readonly)
Returns the value of attribute token.
4 5 6 |
# File 'lib/footstats/request/auth.rb', line 4 def token @token end |
#user ⇒ Object (readonly)
Returns the value of attribute user.
4 5 6 |
# File 'lib/footstats/request/auth.rb', line 4 def user @user end |