Exception: SeaFood::Service::ServiceError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/sea_food/service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#resultObject (readonly)

Returns the value of attribute result.



123
124
125
# File 'lib/sea_food/service.rb', line 123

def result
  @result
end