checkdin 0.3.8 → 0.3.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,30 @@
1
+ module Checkdin
2
+ module TwitterHashtagStreams
3
+
4
+ # Retrieve Twitter Hashtag Streams for a campaign
5
+ #
6
+ # param [Integer] campaign_id The ID of the campaign to fetch the twitter hashtag stream for.
7
+ # @param [Hash] options
8
+
9
+ def twitter_hashtag_streams(campaign_id, options={})
10
+ response = connection.get do |req|
11
+ req.url "campaigns/#{campaign_id}/twitter_hashtag_streams", options
12
+ end
13
+ return_error_or_body(response)
14
+ end
15
+
16
+ # Retrieve Single Twitter Hashtag Stream for a campaign
17
+ #
18
+ # param [Integer] campaign_id The ID of the campaign to fetch the twitter hashtag stream for.
19
+ # param [Integer] id The ID of the twitter_hashtag_stream to fetch.
20
+ # @param [Hash] options
21
+
22
+ def twitter_hashtag_stream(campaign_id, id, options={})
23
+ response = connection.get do |req|
24
+ req.url "campaigns/#{campaign_id}/twitter_hashtag_streams/#{id}", options
25
+ end
26
+ return_error_or_body(response)
27
+ end
28
+
29
+ end
30
+ end
@@ -1,3 +1,3 @@
1
1
  module Checkdin
2
- VERSION = '0.3.8'
2
+ VERSION = '0.3.9'
3
3
  end
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.8
4
+ version: 0.3.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -232,6 +232,7 @@ files:
232
232
  - lib/checkdin/votes.rb
233
233
  - lib/checkdin/clients.rb
234
234
  - lib/checkdin/won_rewards.rb
235
+ - lib/checkdin/twitter_hashtag_streams.rb
235
236
  homepage: http://github.com/mattmueller/checkdin-ruby
236
237
  licenses:
237
238
  - MIT