Module: YellowApi
- Extended by:
- Config
- Defined in:
- lib/yellow_api.rb,
lib/yellow_api/config.rb,
lib/yellow_api/client.rb,
lib/yellow_api/version.rb,
lib/yellow_api/client/request.rb,
lib/yellow_api/client/connection.rb,
lib/yellow_api/client/find_dealer.rb,
lib/yellow_api/client/find_business.rb,
lib/yellow_api/client/get_type_ahead.rb,
lib/yellow_api/client/get_business_details.rb
Defined Under Namespace
Modules: Config Classes: Client
Constant Summary
- VERSION =
"0.0.2"
Constants included from Config
Config::DEFAULT_APIKEY, Config::DEFAULT_ENDPOINT, Config::DEFAULT_FMT, Config::DEFAULT_SANDBOX_ENABLED, Config::DEFAULT_SANDBOX_ENDPOINT, Config::VALID_OPTIONS_KEYS
Class Method Summary (collapse)
-
+ (Object) method_missing(method, *args, &block)
Delegate to YellowApi::Client.
-
+ (YellowApi::Client) new(options = {})
Alias for YellowApi::Client.new.
- + (Boolean) respond_to?(method, include_private = false)
Methods included from Config
configure, extend, options, reset
Class Method Details
+ (Object) method_missing(method, *args, &block)
Delegate to YellowApi::Client
17 18 19 20 |
# File 'lib/yellow_api.rb', line 17 def method_missing(method, *args, &block) return super unless new.respond_to?(method) new.send(method, *args, &block) end |
+ (YellowApi::Client) new(options = {})
Alias for YellowApi::Client.new
12 13 14 |
# File 'lib/yellow_api.rb', line 12 def new(={}) YellowApi::Client.new() end |
+ (Boolean) respond_to?(method, include_private = false)
22 23 24 |
# File 'lib/yellow_api.rb', line 22 def respond_to?(method, include_private=false) new.respond_to?(method, include_private) || super(method, include_private) end |