Module: PriceHubble::Client
- Extended by:
- ActiveSupport::Concern
- Included in:
- PriceHubble
- Defined in:
- lib/price_hubble.rb,
lib/price_hubble/client.rb,
lib/price_hubble/client/base.rb,
lib/price_hubble/client/dossiers.rb,
lib/price_hubble/client/valuation.rb,
lib/price_hubble/client/utils/request.rb,
lib/price_hubble/client/authentication.rb,
lib/price_hubble/client/utils/response.rb,
lib/price_hubble/client/request/default_headers.rb,
lib/price_hubble/client/request/data_sanitization.rb,
lib/price_hubble/client/response/data_sanitization.rb,
lib/price_hubble/client/response/recursive_open_struct.rb
Overview
A bunch of top-level client helpers.
Defined Under Namespace
Modules: Request, Response, Utils Classes: Authentication, Base, Dossiers, Valuation
Class Method Summary collapse
-
.client(name) ⇒ PriceHubble::Client::Base
Get a low level client for the requested application.
Class Method Details
.client(name) ⇒ PriceHubble::Client::Base
Get a low level client for the requested application. This returns an already instanciated client object, ready to use.
14 15 16 17 18 19 20 21 22 |
# File 'lib/price_hubble/client.rb', line 14 def client(name) name .to_s .underscore .camelize .prepend('PriceHubble::Client::') .constantize .new end |