Module: Pushbullet::Permanents
- Included in:
- Client
- Defined in:
- lib/pushbullet/permanents.rb
Instance Method Summary collapse
- #permanent_conversation(device_identity:, thread_id:, params: {}, cursor: nil) ⇒ Object
- #permanents(device_identity:, params: {}, cursor: nil) ⇒ Object
Instance Method Details
#permanent_conversation(device_identity:, thread_id:, params: {}, cursor: nil) ⇒ Object
11 12 13 14 15 16 |
# File 'lib/pushbullet/permanents.rb', line 11 def permanent_conversation(device_identity:, thread_id:, params: {}, cursor: nil) params = process_cursor(cursor, params: params) path = "permanents/#{device_identity}_thread_#{thread_id}" (http_method: :get, path: path, params: params) end |
#permanents(device_identity:, params: {}, cursor: nil) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/pushbullet/permanents.rb', line 4 def permanents(device_identity:, params: {}, cursor: nil) params = process_cursor(cursor, params: params) path = "permanents/#{device_identity}_threads" (http_method: :get, path: path, params: params) end |