class Render::Errors::Schema::RequestError

Attributes

endpoint[RW]
response[RW]

Public Class Methods

new(endpoint, response) click to toggle source
# File lib/render/errors.rb, line 86
def initialize(endpoint, response)
  self.endpoint = endpoint
  self.response = response
end

Public Instance Methods

to_s() click to toggle source
# File lib/render/errors.rb, line 91
def to_s
  "Could not reach #{endpoint} because #{response}."
end