Class: FavroApi::Auth

Inherits:
Object
  • Object
show all
Defined in:
lib/favro_api/auth.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#emailObject

Returns the value of attribute email.



3
4
5
# File 'lib/favro_api/auth.rb', line 3

def email
  @email
end

#tokenObject

Returns the value of attribute token.



3
4
5
# File 'lib/favro_api/auth.rb', line 3

def token
  @token
end