servicio de objetos

# real use in controller
def destroy
  @result = YourService.call(first, second)
  if @result.success?
    #...
  else
    #...
  end
end
Vi Vu Duc