remind101 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,8 +9,8 @@ module Remind101::Client::Groups
9
9
  # # => [{ ... }]
10
10
  #
11
11
  # Returns an Array of all groups.
12
- def groups
13
- api_get('/groups').body
12
+ def groups(options = {})
13
+ api_get('/groups', options).body
14
14
  end
15
15
 
16
16
  # Public: Creates a new group.
@@ -9,8 +9,8 @@ module Remind101::Client::Messages
9
9
  # # => [{ ... }]
10
10
  #
11
11
  # Returns an Array of all messages.
12
- def messages
13
- api_get('/messages').body
12
+ def messages(options = {})
13
+ api_get('/messages', options).body
14
14
  end
15
15
 
16
16
  # Public: Creates a new message.
@@ -9,8 +9,8 @@ module Remind101::Client::Subscribers
9
9
  # #=> [{ ... }]
10
10
  #
11
11
  # Returns an Array of all subscribers.
12
- def subscribers(group_id)
13
- api_get("/groups/#{group_id}/subscribers").body
12
+ def subscribers(group_id, options = {})
13
+ api_get("/groups/#{group_id}/subscribers", options).body
14
14
  end
15
15
 
16
16
  # Public: Returns a single subscriber for the given group and subscriber id.
@@ -21,8 +21,8 @@ module Remind101::Client::Subscribers
21
21
  # # => { ... }
22
22
  #
23
23
  # Returns the Hashie::Mash representation of the subscriber.
24
- def subscriber(group_id, subscriber_id)
25
- api_get("/groups/#{group_id}/subscribers/#{subscriber_id}").body
24
+ def subscriber(group_id, subscriber_id, options = {})
25
+ api_get("/groups/#{group_id}/subscribers/#{subscriber_id}", options).body
26
26
  end
27
27
 
28
28
  # Public: Updates a subscriber.
@@ -1,3 +1,3 @@
1
1
  module Remind101
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: remind101
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
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-09-01 00:00:00.000000000 Z
12
+ date: 2013-09-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday
@@ -190,7 +190,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
190
190
  version: '0'
191
191
  segments:
192
192
  - 0
193
- hash: 4002025153789164095
193
+ hash: -555288322554717939
194
194
  required_rubygems_version: !ruby/object:Gem::Requirement
195
195
  none: false
196
196
  requirements:
@@ -199,7 +199,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
199
199
  version: '0'
200
200
  segments:
201
201
  - 0
202
- hash: 4002025153789164095
202
+ hash: -555288322554717939
203
203
  requirements: []
204
204
  rubyforge_project:
205
205
  rubygems_version: 1.8.23