Exception: SynergyWholesale::Errors::Error
- Inherits:
-
StandardError
- Object
- StandardError
- SynergyWholesale::Errors::Error
- Defined in:
- lib/synergy_wholesale/errors/error.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#command ⇒ Object
readonly
Returns the value of attribute command.
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Class Method Summary collapse
Instance Attribute Details
#command ⇒ Object (readonly)
Returns the value of attribute command.
5 6 7 |
# File 'lib/synergy_wholesale/errors/error.rb', line 5 def command @command end |
#response ⇒ Object (readonly)
Returns the value of attribute response.
5 6 7 |
# File 'lib/synergy_wholesale/errors/error.rb', line 5 def response @response end |
Class Method Details
.new(message, command, response) ⇒ Object
7 8 9 10 11 |
# File 'lib/synergy_wholesale/errors/error.rb', line 7 def self.new(, command, response) @command = command @response = response super() end |