luna_api 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/luna_api/todo.rb +5 -0
- data/lib/luna_api/version.rb +1 -1
- metadata +2 -2
data/lib/luna_api/todo.rb
CHANGED
@@ -14,5 +14,10 @@ module LunaApi
|
|
14
14
|
response = Typhoeus::Request.put("http://todo.lunasandals.com/todo/#{id}/complete")
|
15
15
|
response.success?
|
16
16
|
end
|
17
|
+
|
18
|
+
def self.tags
|
19
|
+
response = Typhoeus::Request.get("http://todo.lunasandals.com/tags")
|
20
|
+
response.body
|
21
|
+
end
|
17
22
|
end
|
18
23
|
end
|
data/lib/luna_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: luna_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-10-
|
12
|
+
date: 2012-10-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: typhoeus
|