Class: Monobank::Client
- Inherits:
-
Object
- Object
- Monobank::Client
- Defined in:
- lib/monobank/client.rb
Instance Method Summary collapse
- #bank_currency ⇒ Object
- #client_info(token:) ⇒ Object
- #set_webhook(token:, url:) ⇒ Object
- #statement(token:, account_id:, from:, to: nil) ⇒ Object
Instance Method Details
#bank_currency ⇒ Object
10 11 12 |
# File 'lib/monobank/client.rb', line 10 def bank_currency Bank::Currency.new.call end |
#client_info(token:) ⇒ Object
14 15 16 |
# File 'lib/monobank/client.rb', line 14 def client_info(token:) Personal::ClientInfo.new(auth: auth(token:)).call end |