Class: InterApi::Client
- Inherits:
-
Object
- Object
- InterApi::Client
- Defined in:
- lib/inter_api.rb
Class Method Summary collapse
Class Method Details
.new(**args) ⇒ Object
20 21 22 23 24 25 26 |
# File 'lib/inter_api.rb', line 20 def self.new **args if args[:test_mode] ClientSandbox.new(**args) else ClientProduction.new(**args) end end |