luna_api 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
data/lib/luna_api/todo.rb CHANGED
@@ -16,6 +16,11 @@ module LunaApi
16
16
  handle_response(response)
17
17
  end
18
18
 
19
+ def self.update(id, attrs)
20
+ response = LunaApi::Request.post("http://todo.lunasandals.com/todo/#{id}", :params => {:todo => attrs})
21
+ handle_response(response)
22
+ end
23
+
19
24
  def self.tags
20
25
  response = LunaApi::Request.get("http://todo.lunasandals.com/tags")
21
26
  response.body
@@ -1,3 +1,3 @@
1
1
  module LunaApi
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
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.1.4
4
+ version: 0.1.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: 2013-02-09 00:00:00.000000000 Z
12
+ date: 2013-03-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: typhoeus