Class: StartupStats::Formd::Client
- Inherits:
-
Object
- Object
- StartupStats::Formd::Client
- Includes:
- Configurable, Filings, Requestable
- Defined in:
- lib/startupstats/formd/client.rb
Overview
< StartupStats::Client
Instance Attribute Summary
Attributes included from Configurable
#access_token, #access_token_key, #connection_options, #endpoint, #middleware
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Client
constructor
A new instance of Client.
Methods included from Filings
Methods included from Requestable
Methods included from Configurable
#cache_key, #configure, #credentials?, keys, #reset!
Constructor Details
#initialize(options = {}) ⇒ Client
Returns a new instance of Client.
17 18 19 20 21 22 |
# File 'lib/startupstats/formd/client.rb', line 17 def initialize( = {} ) setup StartupStats::Configurable.keys.each do |key| instance_variable_set(:"@#{key}", [key] || instance_variable_get(:"@#{key}")) end end |