lib/parse/push.rb in parse-ruby-client-0.1.12 vs lib/parse/push.rb in parse-ruby-client-0.1.13
- old
+ new
@@ -29,15 +29,15 @@
if @where
body.merge!({ :where => @where })
body.delete :channel
end
- body.merge!({ :expiration_time_interval => @expiration_time_interval }) if @expiration_time_interval
+ body.merge!({ :expiration_interval => @expiration_time_interval }) if @expiration_time_interval
body.merge!({ :expiration_time => @expiration_time }) if @expiration_time
body.merge!({ :type => @type }) if @type
response = Parse.client.request uri, :post, body.to_json, nil
end
end
-end
\ No newline at end of file
+end