Class: Factual::Client
- Inherits:
-
Object
- Object
- Factual::Client
- Includes:
- HTTParty
- Defined in:
- lib/factual/client.rb
Instance Method Summary collapse
-
#initialize(factual_key) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(factual_key) ⇒ Client
Returns a new instance of Client.
8 9 10 |
# File 'lib/factual/client.rb', line 8 def initialize(factual_key) self.class.default_params :KEY => factual_key end |