Module: Sense::Insights
- Included in:
- Client
- Defined in:
- lib/hello_sense/insights.rb
Instance Method Summary collapse
-
#insight(category) ⇒ Array<Hash>
Known categorys: *
AIR_QUALITY*BED_LIGHT_DURATION*HUMIDITY*LIGHT*SLEEP_QUALITY*SLEEP_TIME*TEMPERATURE*WAKE_VARIANCE. - #insights ⇒ Array<Hash>
Instance Method Details
#insight(category) ⇒ Array<Hash>
Known categorys:
-
AIR_QUALITY -
BED_LIGHT_DURATION -
HUMIDITY -
LIGHT -
SLEEP_QUALITY -
SLEEP_TIME -
TEMPERATURE -
WAKE_VARIANCE
53 54 55 |
# File 'lib/hello_sense/insights.rb', line 53 def insight(category) get("/v2/insights/info/#{category}") end |
#insights ⇒ Array<Hash>
27 28 29 |
# File 'lib/hello_sense/insights.rb', line 27 def insights get('/v2/insights') end |