class Delighted::Error
Attributes
response[R]
Public Class Methods
new(response)
click to toggle source
# File lib/delighted/errors.rb, line 5 def initialize(response) @response = response end
Public Instance Methods
to_s()
click to toggle source
# File lib/delighted/errors.rb, line 9 def to_s "#{@response.status_code}: #{@response.body}" end