Module: Washbullet::Request
- Included in:
- Client
- Defined in:
- lib/washbullet/request.rb
Instance Method Summary collapse
Instance Method Details
#delete(path) ⇒ Object
11 12 13 |
# File 'lib/washbullet/request.rb', line 11 def delete(path) request(:delete, path) end |
#get(path, params = {}) ⇒ Object
3 4 5 |
# File 'lib/washbullet/request.rb', line 3 def get(path, params = {}) request(:get, path, params) end |
#post(path, payload) ⇒ Object
7 8 9 |
# File 'lib/washbullet/request.rb', line 7 def post(path, payload) request(:post, path, payload) end |