Sha256: ddcd3157a9ba1cd7a9ce39619df3b8bab2ed25dfda03fa5f558ca0d59cc721ac

Contents?: true

Size: 503 Bytes

Versions: 4

Compression:

Stored size: 503 Bytes

Contents

module Pushbullet
  module Permanents
    # See: https://stackoverflow.com/questions/38027963/pushbullet-api-thread-id-to-conversation-iden-for-sms
    def permanents(device_identity:)
      path = "permanents/#{device_identity}_threads"
      authorise_and_send(http_method: :get, path: path)
    end

    def permanent_conversation(device_identity:, thread_id:)
      path = "permanents/#{device_identity}_thread_#{thread_id}"
      authorise_and_send(http_method: :get, path: path)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pushbullet_client-0.0.5 lib/pushbullet/permanents.rb
pushbullet_client-0.0.4 lib/pushbullet/permanents.rb
pushbullet_client-0.0.3 lib/pushbullet/permanents.rb
pushbullet_client-0.0.2 lib/pushbullet/permanents.rb