Class: Footstats::Request::Auth

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Auth

Returns a new instance of Auth.



8
9
10
# File 'lib/footstats/request/auth.rb', line 8

def initialize(options = {})
  @token = options[:token]
end

Instance Attribute Details

#passwordObject (readonly)

Returns the value of attribute password.



4
5
6
# File 'lib/footstats/request/auth.rb', line 4

def password
  @password
end

#tokenObject (readonly)

Returns the value of attribute token.



4
5
6
# File 'lib/footstats/request/auth.rb', line 4

def token
  @token
end

#userObject (readonly)

Returns the value of attribute user.



4
5
6
# File 'lib/footstats/request/auth.rb', line 4

def user
  @user
end