class ReactiveShipping::ResponseError
Attributes
response[R]
Public Class Methods
new(response = nil)
click to toggle source
Calls superclass method
# File lib/reactive_shipping/errors.rb, line 8 def initialize(response = nil) if response.is_a? Response super(response.message) @response = response else super(response) end end