lapse 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -36,6 +36,18 @@ module Lapse
36
36
  def me
37
37
  get('me').body
38
38
  end
39
+
40
+ def user(user_id)
41
+ get("users/#{user_id}").body
42
+ end
43
+
44
+ def follow(user_id)
45
+ boolean_from_response(:post, "users/#{user_id}/follow")
46
+ end
47
+
48
+ def unfollow(user_id)
49
+ boolean_from_response(:post, "users/#{user_id}/unfollow")
50
+ end
39
51
  end
40
52
  end
41
53
  end
data/lib/lapse/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Lapse
2
2
  # Verion of the Lapse gem
3
- VERSION = '0.0.4'
3
+ VERSION = '0.0.5'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lapse
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  version: '0'
109
109
  segments:
110
110
  - 0
111
- hash: -3125559125321929734
111
+ hash: -1703013741632677552
112
112
  requirements: []
113
113
  rubyforge_project:
114
114
  rubygems_version: 1.8.23