lib/stream/batch.rb in stream-ruby-2.4.3 vs lib/stream/batch.rb in stream-ruby-2.4.4

- old
+ new

@@ -14,13 +14,13 @@ # {:source => 'flat:1', :target => 'user:1'}, # {:source => 'flat:1', :target => 'user:3'} # ] # @client.follow_many(follows) # - def follow_many(follows, activity_copy_limit=nil) + 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) end #