Exception: SeaFood::Service::ServiceError
- Inherits:
-
StandardError
- Object
- StandardError
- SeaFood::Service::ServiceError
- Defined in:
- lib/sea_food/service.rb
Instance Attribute Summary collapse
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(result) ⇒ ServiceError
constructor
A new instance of ServiceError.
Constructor Details
#initialize(result) ⇒ ServiceError
Returns a new instance of ServiceError.
125 126 127 |
# File 'lib/sea_food/service.rb', line 125 def initialize(result) @result = result end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
123 124 125 |
# File 'lib/sea_food/service.rb', line 123 def result @result end |