Class: JIRA::Client
- Inherits:
-
Object
- Object
- JIRA::Client
- Defined in:
- lib/mongo/jira/patch.rb
Instance Method Summary collapse
- #get(path, headers = {}, &block) ⇒ Object
- #request(http_method, path, body = '', headers = {}, &block) ⇒ Object
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 |