Module: SleepIQ::Family
- Included in:
- Client
- Defined in:
- lib/sleepiq/family.rb
Instance Method Summary collapse
Instance Method Details
#family_status ⇒ Object
3 4 5 6 7 8 |
# File 'lib/sleepiq/family.rb', line 3 def family_status result = @conn.get { |req| req.url 'rest/bed/familyStatus' } raise "status code was #{result.status}, #{result.body}" unless result.status == 200 result.body end |