Module: Flix
- Extended by:
- Configurable
- Defined in:
- lib/flix.rb,
lib/flix/user.rb,
lib/flix/client.rb,
lib/flix/default.rb,
lib/flix/version.rb,
lib/flix/configurable.rb,
lib/flix/identity_map.rb
Defined Under Namespace
Modules: Configurable, Default Classes: Client, IdentityMap, User
Constant Summary collapse
- VERSION =
"0.0.2"
Instance Attribute Summary
Attributes included from Configurable
#connection_options, #consumer_key, #consumer_secret, #endpoint, #identity_map, #middleware, #oauth_token, #oauth_token_secret
Class Method Summary collapse
-
.client ⇒ Flix::Client
Delegate to a Flix::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
cache_key, configure, credentials?, keys, reset!
Class Method Details
.client ⇒ Flix::Client
Delegate to a Flix::Client
12 13 14 15 16 17 18 |
# File 'lib/flix.rb', line 12 def client if @client && @client.cache_key == .hash @client else @client = Flix::Client.new() end end |
Instance Method Details
#respond_to?(method_name, include_private = false) ⇒ Boolean
21 |
# File 'lib/flix.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
20 |
# File 'lib/flix.rb', line 20 def respond_to_missing?(method_name, include_private=false); client.respond_to?(method_name, include_private); end |