Class: Moneylovercli::Api::MoneyLover

Inherits:
Base
  • Object
show all
Defined in:
lib/moneylovercli/api/money_lover.rb

Direct Known Subclasses

Category, Transaction, Wallet

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(token:) ⇒ MoneyLover

Returns a new instance of MoneyLover.



9
10
11
# File 'lib/moneylovercli/api/money_lover.rb', line 9

def initialize(token:)
  @token = token
end

Instance Attribute Details

#tokenObject

Returns the value of attribute token.



7
8
9
# File 'lib/moneylovercli/api/money_lover.rb', line 7

def token
  @token
end