Class: Factual::Client

Inherits:
Object
  • Object
show all
Includes:
HTTParty
Defined in:
lib/factual/client.rb

Instance Method Summary collapse

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