Class: Countir::Client

Inherits:
Object
  • Object
show all
Includes:
ResourceBasedMethods
Defined in:
lib/countir/client.rb

Constant Summary collapse

URL =
'https://api.countir.jp'

Instance Method Summary collapse

Methods included from ResourceBasedMethods

#list_account_codes, #list_journals, #post_journal

Constructor Details

#initialize(api_key: nil) ⇒ Client

Returns a new instance of Client.



7
8
9
# File 'lib/countir/client.rb', line 7

def initialize(api_key: nil)
  @api_key = api_key
end