class SeaFood::Service

def call(params = {})

Returns:
  • (ServiceResult) - The result of the service call.

Parameters:
  • args (Hash) -- Arguments to pass to the service.
def call(params = {})
  # debugger
  service = new(**params)
  service.call
  service.result || ServiceResult.new
rescue ServiceError => e
  service.result
end