Module: Washbullet::API::Pushes
- Included in:
- Washbullet::API
- Defined in:
- lib/washbullet/api/pushes.rb
Instance Method Summary collapse
- #delete_push(push_iden) ⇒ Object
- #get_pushes(modified_after = nil, cursor = nil) ⇒ Object
- #push_file(receiver: nil, identifier: nil, params: {}) ⇒ Object
- #push_link(receiver: nil, identifier: nil, params: {}) ⇒ Object
- #push_note(receiver: nil, identifier: nil, params: {}) ⇒ Object
Instance Method Details
#delete_push(push_iden) ⇒ Object
25 26 27 |
# File 'lib/washbullet/api/pushes.rb', line 25 def delete_push(push_iden) raise NotImplementedError end |
#get_pushes(modified_after = nil, cursor = nil) ⇒ Object
21 22 23 |
# File 'lib/washbullet/api/pushes.rb', line 21 def get_pushes(modified_after = nil, cursor = nil) raise NotImplementedError end |
#push_file(receiver: nil, identifier: nil, params: {}) ⇒ Object
17 18 19 |
# File 'lib/washbullet/api/pushes.rb', line 17 def push_file(receiver: nil, identifier: nil, params: {}) Washbullet::Pushable::File.push(self, receiver, identifier, params) end |
#push_link(receiver: nil, identifier: nil, params: {}) ⇒ Object
13 14 15 |
# File 'lib/washbullet/api/pushes.rb', line 13 def push_link(receiver: nil, identifier: nil, params: {}) Washbullet::Pushable::Link.push(self, receiver, identifier, params) end |
#push_note(receiver: nil, identifier: nil, params: {}) ⇒ Object
9 10 11 |
# File 'lib/washbullet/api/pushes.rb', line 9 def push_note(receiver: nil, identifier: nil, params: {}) Washbullet::Pushable::Note.push(self, receiver, identifier, params) end |