Module: StartupStats::Countdb
- Extended by:
- Configurable
- Defined in:
- lib/startupstats.rb,
lib/startupstats/countdb/client.rb,
lib/startupstats/countdb/counts.rb,
lib/startupstats/countdb/models/count.rb
Defined Under Namespace
Modules: Counts Classes: Client, Count
Instance Attribute Summary
Attributes included from Configurable
#access_token, #access_token_key, #connection_options, #endpoint, #middleware
Class Method Summary collapse
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 ⇒ StartupStats::Countdb::Client
39 40 41 42 |
# File 'lib/startupstats.rb', line 39 def client @client = StartupStats::Countdb::Client.new() unless defined?(@client) && @client.cache_key == .hash @client end |
Instance Method Details
#respond_to?(method_name, include_private = false) ⇒ Boolean
45 |
# File 'lib/startupstats.rb', line 45 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
44 |
# File 'lib/startupstats.rb', line 44 def respond_to_missing?(method_name, include_private=false); client.respond_to?(method_name, include_private); end |