Class: JIRA::JwtClient

Inherits:
HttpClient show all
Defined in:
lib/jira/jwt_client.rb

Defined Under Namespace

Classes: JwtUriBuilder

Constant Summary

Constants inherited from HttpClient

HttpClient::DEFAULT_OPTIONS

Instance Attribute Summary

Attributes inherited from HttpClient

#options

Instance Method Summary collapse

Methods inherited from HttpClient

#authenticated?, #basic_auth_http_conn, #http_conn, #initialize, #make_cookie_auth_request, #uri

Methods inherited from RequestClient

#request, #request_multipart

Constructor Details

This class inherits a constructor from JIRA::HttpClient

Instance Method Details

#make_multipart_request(url, data, headers = {}) ⇒ Object



11
12
13
14
15
# File 'lib/jira/jwt_client.rb', line 11

def make_multipart_request(url, data, headers = {})
  @http_method = :post

  super(url, data, headers)
end

#make_request(http_method, url, body = '', headers = {}) ⇒ Object



5
6
7
8
9
# File 'lib/jira/jwt_client.rb', line 5

def make_request(http_method, url, body = '', headers = {})
  @http_method = http_method

  super(http_method, url, body, headers)
end