my_zeo 0.4.2 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/my_zeo.rb +4 -4
- metadata +4 -4
data/lib/my_zeo.rb
CHANGED
|
@@ -21,12 +21,12 @@ class MyZeo
|
|
|
21
21
|
"#{self.class.base_uri}/subscribeToNotify?key=#{@api_key}&userid=#{@user_id}&callback=#{callback_url}"
|
|
22
22
|
end
|
|
23
23
|
|
|
24
|
-
def
|
|
25
|
-
"#{self.class.base_uri}/
|
|
24
|
+
def unsubscribe_from_notify_link
|
|
25
|
+
"#{self.class.base_uri}/unsubscribeFromNotify?key=#{@api_key}&userid=#{@user_id}"
|
|
26
26
|
end
|
|
27
27
|
|
|
28
|
-
def
|
|
29
|
-
MyZeo.get("/
|
|
28
|
+
def unsubscribe_from_notify
|
|
29
|
+
MyZeo.get("/unsubscribeFromNotify?key=#{@api_key}", :query => {:userid => @user_id}).recursive_symbolize_keys!
|
|
30
30
|
end
|
|
31
31
|
|
|
32
32
|
def get_bulk_sleep_stats_since_date(opts={})
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: my_zeo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 9
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 4
|
|
9
|
-
-
|
|
10
|
-
version: 0.4.
|
|
9
|
+
- 3
|
|
10
|
+
version: 0.4.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Haris Amin
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2010-11-
|
|
18
|
+
date: 2010-11-23 00:00:00 -05:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|