lib/stream/batch.rb in stream-ruby-2.5.8 vs lib/stream/batch.rb in stream-ruby-2.5.9
- old
+ new
@@ -17,13 +17,13 @@
# @client.follow_many(follows)
#
def follow_many(follows, activity_copy_limit = nil)
query_params = {}
unless activity_copy_limit.nil?
- query_params["activity_copy_limit"] = activity_copy_limit
+ query_params['activity_copy_limit'] = activity_copy_limit
end
- make_signed_request(:post, "/follow_many/", query_params, follows)
+ make_signed_request(:post, '/follow_many/', query_params, follows)
end
#
# Adds an activity to many feeds in one single request
#
@@ -35,9 +35,9 @@
def add_to_many(activity_data, feeds)
data = {
:feeds => feeds,
:activity => activity_data
}
- make_signed_request(:post, "/feed/add_to_many/", {}, data)
+ make_signed_request(:post, '/feed/add_to_many/', {}, data)
end
end
end