module CommandServiceObject::ControllerHelper
Public Class Methods
included(base)
click to toggle source
# File lib/command_service_object/helpers/controller_helper.rb, line 7 def self.included(base) base.extend ClassMethods end
Public Instance Methods
execute(cmd)
click to toggle source
# File lib/command_service_object/helpers/controller_helper.rb, line 20 def execute(cmd) ApplicationService.call(cmd) end