Class: Flowthings::Client
- Inherits:
-
Object
- Object
- Flowthings::Client
- Includes:
- Connection
- Defined in:
- lib/flowthings/client.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(options = {}) ⇒ Client
Returns a new instance of Client.
17 18 19 20 21 22 23 24 25 26 |
# File 'lib/flowthings/client.rb', line 17 def initialize(={}) @services = [ApiTask, Drop, Flow, Group, Identity, Mqtt, Share, Token, Track] = Flowthings..merge Configuration::VALID_CONFIG_KEYS.each do |key| send "#{key}=", [key] end service_factory end |