Class: RubyHue::Client
- Inherits:
-
Object
- Object
- RubyHue::Client
- Includes:
- HTTParty
- Defined in:
- lib/ruby_hue/client.rb
Class Method Summary collapse
Class Method Details
.get_and_parse(*args) ⇒ Object
7 8 9 10 |
# File 'lib/ruby_hue/client.rb', line 7 def self.get_and_parse(*args) response = get(*args) MultiJson.load(response.body) end |
.put_and_parse(*args) ⇒ Object
12 13 14 15 |
# File 'lib/ruby_hue/client.rb', line 12 def self.put_and_parse(*args) response = put(*args) MultiJson.load(response.body) end |