class Monobank::Client

Public Instance Methods

bank_currency() click to toggle source
# File lib/monobank/client.rb, line 9
def bank_currency
  Bank::Currency.new.call
end
client_info(token:) click to toggle source
# File lib/monobank/client.rb, line 13
def client_info(token:)
  Personal::ClientInfo.new(token: token).call
end
set_webhook(token:, url:) click to toggle source
# File lib/monobank/client.rb, line 21
def set_webhook(token:, url:)
  Personal::Webhook.new(token: token, url: url).call
end
statement(token:, account_id:, from:, to: nil) click to toggle source
# File lib/monobank/client.rb, line 17
def statement(token:, account_id:, from:, to: nil)
  Personal::Statement.new(token: token, account_id: account_id, from: from, to: to).call
end