Module: Whitehouse
- Extended by:
- Configurable
- Defined in:
- lib/whitehouse.rb,
lib/whitehouse/error.rb,
lib/whitehouse/order.rb,
lib/whitehouse/client.rb,
lib/whitehouse/default.rb,
lib/whitehouse/version.rb,
lib/whitehouse/client/order.rb,
lib/whitehouse/configurable.rb,
lib/whitehouse/authentication.rb,
lib/whitehouse/client/catalog.rb,
lib/whitehouse/client/webhook.rb
Overview
Ruby toolkit for the WHCC API
Defined Under Namespace
Modules: Authentication, Configurable Classes: Client, Default, Error, Order
Constant Summary collapse
- VERSION =
"0.0.1"
Instance Attribute Summary
Attributes included from Configurable
#access_token, #api_endpoint, #connection_options, #consumer_key, #consumer_secret, #default_media_type, #user_agent
Class Method Summary collapse
-
.client ⇒ Whitehouse::Client
API client based on configured options Configurable.
Instance Method Summary collapse
- #respond_to?(method_name, include_private = false) ⇒ Boolean
- #respond_to_missing?(method_name, include_private = false) ⇒ Boolean
Methods included from Configurable
Class Method Details
.client ⇒ Whitehouse::Client
API client based on configured options Configurable
13 14 15 16 |
# File 'lib/whitehouse.rb', line 13 def client @client = Whitehouse::Client.new() unless defined?(@client) && @client.() @client end |
Instance Method Details
#respond_to?(method_name, include_private = false) ⇒ Boolean
21 |
# File 'lib/whitehouse.rb', line 21 def respond_to?(method_name, include_private=false); client.respond_to?(method_name, include_private) || super; end |
#respond_to_missing?(method_name, include_private = false) ⇒ Boolean
19 |
# File 'lib/whitehouse.rb', line 19 def respond_to_missing?(method_name, include_private=false); client.respond_to?(method_name, include_private); end |