📅  最后修改于: 2022-03-11 15:04:45.281000             🧑  作者: Mango
代码示例1
# real use in controller
def destroy
@result = YourService.call(first, second)
if @result.success?
#...
else
#...
end
end