lib/pushbullet/subscriptions.rb in pushbullet_client-0.0.5 vs lib/pushbullet/subscriptions.rb in pushbullet_client-0.0.6

- old
+ new

@@ -1,8 +1,9 @@ module Pushbullet module Subscriptions - def subscriptions + def subscriptions(params: {}, cursor: nil) + params = process_cursor(cursor, params: params) path = 'subscriptions' - authorise_and_send(http_method: :get, path: path) + authorise_and_send(http_method: :get, path: path, params: params) end end end