fitbit_api 0.10.1 → 0.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/fitbit_api/alarms.rb +5 -1
- data/lib/fitbit_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0a38e6d977a2507680f2ab421d438f1ce5450a2e3346b197f7fe854096278fc
|
4
|
+
data.tar.gz: '090c11c75f82f5bb6b9ac56ce4d2bd0f55d19693cf201c3d3ad9b776151aa4da'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adb8632ad6260887b6bd93c5ec1230cad1bc144c9408f1c8fc8c52f2aae463b08d63361cbd1e33bb0f804c813c90abe9c6b45168b02fd649df1cd93cc3961d19
|
7
|
+
data.tar.gz: 5aa550aee293be92bd8f417ca270ee37151543db933c853d2874ea2ff56181b6aeb1279bca208c6bf5fe865fdd867a1bb19da70be22d1a31dffb7983dc60b6f4
|
data/CHANGELOG.md
CHANGED
data/lib/fitbit_api/alarms.rb
CHANGED
@@ -16,7 +16,7 @@ module FitbitAPI
|
|
16
16
|
|
17
17
|
# Adds the alarm settings to a given ID for a given device.
|
18
18
|
#
|
19
|
-
# add_alarm(body: { time: "07:15-08:00",
|
19
|
+
# add_alarm(123, body: { time: "07:15-08:00", recurring: true, week_days: "MONDAY,FRIDAY,SATURDAY" })
|
20
20
|
#
|
21
21
|
# @param tracker_id [Integer] The ID of the tracker for which the alarm is created
|
22
22
|
#
|
@@ -31,6 +31,8 @@ module FitbitAPI
|
|
31
31
|
|
32
32
|
# Updates the alarm entry with a given ID for a given device.
|
33
33
|
#
|
34
|
+
# update_alarm(123, 987, body: { week_days: "TUESDAY,SUNDAY" })
|
35
|
+
#
|
34
36
|
# @param tracker_id [Integer] The ID of the tracker for which the alarm is created
|
35
37
|
# @param alarm_id [Integer] The ID of the alarm to be updated
|
36
38
|
#
|
@@ -52,6 +54,8 @@ module FitbitAPI
|
|
52
54
|
|
53
55
|
# Deletes the user's device alarm entry with the given ID for a given device.
|
54
56
|
#
|
57
|
+
# delete_alarm(123, 987)
|
58
|
+
#
|
55
59
|
# @param tracker_id [Integer] The ID of the tracker for which the alarm is to be deleted
|
56
60
|
# @param alarm_id [Integer] The ID of the alarm to be deleted
|
57
61
|
|
data/lib/fitbit_api/version.rb
CHANGED