checkdin 0.3.3 → 0.3.4
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/checkdin/client.rb +1 -0
- data/lib/checkdin/point_account_entries.rb +20 -0
- data/lib/checkdin/version.rb +1 -1
- data/lib/checkdin.rb +1 -0
- metadata +2 -1
data/lib/checkdin/client.rb
CHANGED
@@ -0,0 +1,20 @@
|
|
1
|
+
module Checkdin
|
2
|
+
module PointAccountEntries
|
3
|
+
|
4
|
+
# Get a list of point account entries.
|
5
|
+
#
|
6
|
+
# @param [Hash] options
|
7
|
+
# @option options Integer :user_id - Return entries only for this user
|
8
|
+
# @option options Integer :campaign_id - Return entries only for this campaign
|
9
|
+
# @option options Integer :point_account_id - Return entries only for this point account.
|
10
|
+
# @option options Integer :limit - The maximum number of records to return.
|
11
|
+
|
12
|
+
def point_account_entries(options={})
|
13
|
+
response = connection.get do |req|
|
14
|
+
req.url "point_account_entries", options
|
15
|
+
end
|
16
|
+
return_error_or_body(response)
|
17
|
+
end
|
18
|
+
|
19
|
+
end
|
20
|
+
end
|
data/lib/checkdin/version.rb
CHANGED
data/lib/checkdin.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: checkdin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -223,6 +223,7 @@ files:
|
|
223
223
|
- lib/checkdin/client.rb
|
224
224
|
- lib/checkdin/custom_activities.rb
|
225
225
|
- lib/checkdin/leaderboard.rb
|
226
|
+
- lib/checkdin/point_account_entries.rb
|
226
227
|
- lib/checkdin/promotions.rb
|
227
228
|
- lib/checkdin/push_api_subscriptions.rb
|
228
229
|
- lib/checkdin/users.rb
|