class Cloudflare::Rails::Railtie::Importer::ResponseError

Exceptions contain the Net::HTTP response object accessible via the {#response} method.

Attributes

response[R]

Returns the response of the last request @return [Net::HTTPResponse] A subclass of Net::HTTPResponse, e.g. Net::HTTPOK

Public Class Methods

new(response) click to toggle source

Instantiate an instance of ResponseError with a Net::HTTPResponse object @param [Net::HTTPResponse]

Calls superclass method
# File lib/cloudflare/rails/railtie.rb, line 33
def initialize(response)
  @response = response
  super(response)
end