class JIRA::HTTPError

Attributes

message[R]
response[R]

Public Class Methods

new(response) click to toggle source
# File lib/jira/http_error.rb, line 9
def initialize(response)
  @response = response
  @message = response.try(:message).presence || response.try(:body)
end