class Async::REST::ResponseError
Attributes
response[R]
Public Class Methods
new(response)
click to toggle source
Calls superclass method
# File lib/async/rest/error.rb, line 35 def initialize(response) super(response.read) @response = response end
Public Instance Methods
to_s()
click to toggle source
# File lib/async/rest/error.rb, line 41 def to_s "#{@response}: #{super}" end