Class: JIRA::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/mongo/jira/patch.rb

Instance Method Summary collapse

Instance Method Details

#get(path, headers = {}, &block) ⇒ Object



28
29
30
# File 'lib/mongo/jira/patch.rb', line 28

def get(path, headers = {}, &block)
  request(:get, path, nil, merge_default_headers(headers), &block)
end

#request(http_method, path, body = '', headers = {}, &block) ⇒ Object



31
32
33
# File 'lib/mongo/jira/patch.rb', line 31

def request(http_method, path, body = '', headers={}, &block)
  @request_client.request(http_method, path, body, headers, &block)
end