Class: Lifen::UserAuthenticatedClient

Inherits:
Client
  • Object
show all
Defined in:
lib/lifen/user_authenticated_client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Client

#get, #post, #put, #request

Constructor Details

#initialize(token) ⇒ UserAuthenticatedClient

Returns a new instance of UserAuthenticatedClient.



4
5
6
# File 'lib/lifen/user_authenticated_client.rb', line 4

def initialize(token)
  @token = token
end

Instance Attribute Details

#tokenObject (readonly)

Returns the value of attribute token.



8
9
10
# File 'lib/lifen/user_authenticated_client.rb', line 8

def token
  @token
end