Class: FavroApi::Auth
- Inherits:
-
Object
- Object
- FavroApi::Auth
- Defined in:
- lib/favro_api/auth.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
Returns the value of attribute email.
-
#token ⇒ Object
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize(email, token) ⇒ Auth
constructor
A new instance of Auth.
Constructor Details
#initialize(email, token) ⇒ Auth
Returns a new instance of Auth.
5 6 7 8 |
# File 'lib/favro_api/auth.rb', line 5 def initialize(email, token) self.email = email self.token = token end |
Instance Attribute Details
#email ⇒ Object
Returns the value of attribute email.
3 4 5 |
# File 'lib/favro_api/auth.rb', line 3 def email @email end |
#token ⇒ Object
Returns the value of attribute token.
3 4 5 |
# File 'lib/favro_api/auth.rb', line 3 def token @token end |