Module: Monobank::Corporate
- Extended by:
- SingleForwardable
- Defined in:
- lib/monobank/corporate.rb,
lib/monobank/corporate/client.rb
Defined Under Namespace
Classes: Client
Class Method Summary collapse
Class Method Details
.client ⇒ Object
17 18 19 |
# File 'lib/monobank/corporate.rb', line 17 def self.client @client ||= Client.new(private_key: @private_key, key_id: @key_id) end |
.configure(private_key:, key_id: nil) ⇒ Object
11 12 13 14 15 |
# File 'lib/monobank/corporate.rb', line 11 def self.configure(private_key:, key_id: nil) @private_key = private_key @key_id = key_id @client = nil end |