Sha256: ccee85812ee269ed11d242fd91e2cad759de7dffdc6a53dcf1ec02886e022ef5
Contents?: true
Size: 686 Bytes
Versions: 2
Compression:
Stored size: 686 Bytes
Contents
require 'aldous/logging_wrapper' module Aldous module Controller module Action class ResultExecutionService class << self def perform(controller, respondable, default_view_data) self.new(controller, respondable, default_view_data).perform end end attr_reader :controller, :respondable, :default_view_data def initialize(controller, respondable, default_view_data) @controller = controller @respondable = respondable @default_view_data = default_view_data end def perform respondable.action(controller).execute end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
aldous-1.0.1 | lib/aldous/controller/action/result_execution_service.rb |
aldous-1.0.0 | lib/aldous/controller/action/result_execution_service.rb |