class Tr3llo::RemoteServer::RequestError
Attributes
response[R]
Public Class Methods
new(response)
click to toggle source
Calls superclass method
# File lib/3llo/remote_server.rb, line 12 def initialize(response) @response = response super() end
Public Instance Methods
message()
click to toggle source
# File lib/3llo/remote_server.rb, line 17 def message formatted_response = "status: " + response.code.inspect() + ", body: " + response.body.inspect() "Received unexpected response from remote server: " + formatted_response end