Sha256: ec34f9e7df70c0989286212db0616fad8693b7007e4557c0b4c560f89b6ae672

Contents?: true

Size: 465 Bytes

Versions: 16

Compression:

Stored size: 465 Bytes

Contents

module Pushbullet
  module Pushes
    def pushes(params: {}, cursor: nil)
      params = process_cursor(cursor, params: params)
      path = 'pushes'
      authorise_and_send(http_method: :get, path: path, params: params)
    end

    def self_pushes(params: {}, cursor: nil)
      params = process_cursor(cursor, params: params.merge({ self: true }))

      path = 'pushes'
      authorise_and_send(http_method: :get, path: path, params: params)
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
pushbullet_client-0.0.21 lib/pushbullet/pushes.rb
pushbullet_client-0.0.20 lib/pushbullet/pushes.rb
pushbullet_client-0.0.19 lib/pushbullet/pushes.rb
pushbullet_client-0.0.18 lib/pushbullet/pushes.rb
pushbullet_client-0.0.17 lib/pushbullet/pushes.rb
pushbullet_client-0.0.16 lib/pushbullet/pushes.rb
pushbullet_client-0.0.15 lib/pushbullet/pushes.rb
pushbullet_client-0.0.14 lib/pushbullet/pushes.rb
pushbullet_client-0.0.13 lib/pushbullet/pushes.rb
pushbullet_client-0.0.12 lib/pushbullet/pushes.rb
pushbullet_client-0.0.11 lib/pushbullet/pushes.rb
pushbullet_client-0.0.10 lib/pushbullet/pushes.rb
pushbullet_client-0.0.9 lib/pushbullet/pushes.rb
pushbullet_client-0.0.8 lib/pushbullet/pushes.rb
pushbullet_client-0.0.7 lib/pushbullet/pushes.rb
pushbullet_client-0.0.6 lib/pushbullet/pushes.rb