Class: BigML::Util::Client
- Inherits:
-
Object
- Object
- BigML::Util::Client
- Includes:
- Authenticable, Request, HTTMultiParty
- Defined in:
- lib/big_ml/util/client.rb
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ Client
constructor
A new instance of Client.
Methods included from Request
Methods included from Authenticable
Constructor Details
#initialize(attrs = {}) ⇒ Client
Returns a new instance of Client.
18 19 20 21 22 23 |
# File 'lib/big_ml/util/client.rb', line 18 def initialize(attrs={}) attrs = BigML..merge(attrs) Config::VALID_OPTIONS_KEYS.each { |key| instance_variable_set("@#{key}".to_sym, attrs[key]) } end |