Class: Countir::Client
- Inherits:
-
Object
- Object
- Countir::Client
- Includes:
- ResourceBasedMethods
- Defined in:
- lib/countir/client.rb
Constant Summary collapse
- URL =
'https://api.countir.jp'
Instance Method Summary collapse
-
#initialize(api_key: nil) ⇒ Client
constructor
A new instance of Client.
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 |