class JIRA::JwtClient

Attributes

http_method[R]

Public Instance Methods

make_multipart_request(url, data, headers = {}) click to toggle source
Calls superclass method JIRA::HttpClient#make_multipart_request
# 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 = {}) click to toggle source
Calls superclass method JIRA::HttpClient#make_request
# 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

Private Instance Methods

request_path(url) click to toggle source
# File lib/jira/jwt_client.rb, line 57
def request_path(url)
  JwtUriBuilder.new(
    url,
    http_method.to_s,
    @options[:shared_secret],
    @options[:site],
    @options[:issuer]
  ).build
end