Module: Zendesk::Request

Extended by:
Connection
Defined in:
lib/zendesk/request.rb

Class Method Summary collapse

Class Method Details

.delete(path, options = {}) ⇒ Object



19
20
21
# File 'lib/zendesk/request.rb', line 19

def self.delete(path, options={})
  request(:delete, path, options)
end

.get(path, options = {}) ⇒ Object



7
8
9
# File 'lib/zendesk/request.rb', line 7

def self.get(path, options={})
  request(:get, path, options)
end

.post(path, options = {}) ⇒ Object



11
12
13
# File 'lib/zendesk/request.rb', line 11

def self.post(path, options={})
  request(:post, path, options)
end

.put(path, options = {}) ⇒ Object



15
16
17
# File 'lib/zendesk/request.rb', line 15

def self.put(path, options={})
  request(:put, path, options)
end