class SynergyWholesale::Errors::ResponseError
Attributes
status[R]
Public Class Methods
new(command, response)
click to toggle source
Calls superclass method
SynergyWholesale::Errors::Error::new
# File lib/synergy_wholesale/errors/response_error.rb, line 7 def self.new(command, response) @status = response[:status] message = response[:error_message] || @status super(message, command, response) end