Module: Diversion
- Extended by:
- Configurable
- Defined in:
- lib/diversion.rb,
lib/diversion/url.rb,
lib/diversion/client.rb,
lib/diversion/decode.rb,
lib/diversion/encode.rb,
lib/diversion/signing.rb,
lib/diversion/version.rb,
lib/diversion/decode/json.rb,
lib/diversion/encode/json.rb,
lib/diversion/configurable.rb,
lib/diversion/decode/params.rb,
lib/diversion/encode/params.rb,
lib/diversion/error/key_missing_error.rb,
lib/diversion/error/uri_missing_error.rb,
lib/diversion/error/bad_url_data_format.rb,
lib/diversion/error/configuration_error.rb
Defined Under Namespace
Modules: Configurable, Decode, Encode, Signing, Url Classes: Client, Error, Version
Instance Attribute Summary
Attributes included from Configurable
#encode_uris, #host, #path, #port, #sign_key, #sign_length, #url_decoding, #url_encoding
Class Method Summary collapse
-
.client ⇒ Diversion::Client
Delegate to a Diversion::Client.
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 ⇒ Diversion::Client
Delegate to a Diversion::Client
18 19 20 21 |
# File 'lib/diversion.rb', line 18 def client @client = Diversion::Client.new() unless defined?(@client) && @client.hash == .hash @client end |
Instance Method Details
#respond_to?(method_name, include_private = false) ⇒ Boolean
24 |
# File 'lib/diversion.rb', line 24 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
23 |
# File 'lib/diversion.rb', line 23 def respond_to_missing?(method_name, include_private=false); client.respond_to?(method_name, include_private); end |