Module: SFPark
- Extended by:
- Configuration
- Defined in:
- lib/sfpark.rb,
lib/sfpark/client.rb,
lib/sfpark/request.rb,
lib/sfpark/version.rb,
lib/sfpark/connection.rb,
lib/sfpark/configuration.rb,
lib/sfpark/client/availability.rb
Defined Under Namespace
Modules: Configuration, Connection, Request Classes: Client
Constant Summary collapse
- VERSION =
"0.0.1"
Constants included from Configuration
Configuration::DEFAULT_ADAPTER, Configuration::DEFAULT_ENDPOINT, Configuration::DEFAULT_FARADAY_OPTIONS, Configuration::DEFAULT_PROXY, Configuration::DEFAULT_RESPONSE, Configuration::DEFAULT_USER_AGENT, Configuration::VALID_OPTIONS_KEYS
Class Method Summary collapse
-
.method_missing(method, *args, &block) ⇒ Object
Delegate to SFPark::Client.new.
-
.new(options = {}) ⇒ SFPark::Client
Alias for SFPark::Client.new.
- .respond_to?(method, include_private = false) ⇒ Boolean
Methods included from Configuration
configure, extended, options, reset
Class Method Details
.method_missing(method, *args, &block) ⇒ Object
Delegate to SFPark::Client.new
15 16 17 18 |
# File 'lib/sfpark.rb', line 15 def method_missing(method, *args, &block) return super unless new.respond_to?(method) new.send(method, *args, &block) end |
.new(options = {}) ⇒ SFPark::Client
Alias for SFPark::Client.new
10 11 12 |
# File 'lib/sfpark.rb', line 10 def new(={}) SFPark::Client.new() end |
.respond_to?(method, include_private = false) ⇒ Boolean
20 21 22 |
# File 'lib/sfpark.rb', line 20 def respond_to?(method, include_private=false) new.respond_to?(method, include_private) || super(method, include_private) end |