Module: Zendesk::Request
- Extended by:
- Connection
- Defined in:
- lib/zendesk/request.rb
Class Method Summary (collapse)
- + (Object) delete(path, options = {})
- + (Object) get(path, options = {})
- + (Object) post(path, options = {})
- + (Object) put(path, options = {})
Class Method Details
+ (Object) delete(path, options = {})
19 20 21 |
# File 'lib/zendesk/request.rb', line 19 def self.delete(path, ={}) request(:delete, path, ) end |
+ (Object) get(path, options = {})
7 8 9 |
# File 'lib/zendesk/request.rb', line 7 def self.get(path, ={}) request(:get, path, ) end |
+ (Object) post(path, options = {})
11 12 13 |
# File 'lib/zendesk/request.rb', line 11 def self.post(path, ={}) request(:post, path, ) end |
+ (Object) put(path, options = {})
15 16 17 |
# File 'lib/zendesk/request.rb', line 15 def self.put(path, ={}) request(:put, path, ) end |