Module: APIClientBase::Base::ClassMethods
- Defined in:
- lib/api_client_base/base/class_methods.rb
Instance Method Summary collapse
Instance Method Details
#new(opts = {}) ⇒ Object
5 6 7 8 9 |
# File 'lib/api_client_base/base/class_methods.rb', line 5 def new(opts={}) client_class = self.const_get("Client") client_opts = self.configuration.current.merge(opts) client_class.new(client_opts) end |