Class: Myfinance::Http

Inherits:
Object
  • Object
show all
Defined in:
lib/myfinance/http.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(token, account_id = nil) ⇒ Http

Returns a new instance of Http.



8
9
10
11
# File 'lib/myfinance/http.rb', line 8

def initialize(token,  = nil)
  @token = token
  @account_id = 
end

Instance Attribute Details

#account_idObject (readonly)

Returns the value of attribute account_id.



6
7
8
# File 'lib/myfinance/http.rb', line 6

def 
  @account_id
end

#tokenObject (readonly)

Returns the value of attribute token.



6
7
8
# File 'lib/myfinance/http.rb', line 6

def token
  @token
end