Sha256: b31a866f4c898ce043fb48a1cdcefddc3c08b2265e96050c32fa57f5a51f39f6

Contents?: true

Size: 492 Bytes

Versions: 41

Compression:

Stored size: 492 Bytes

Contents

module Plutonium
  module Interaction
    module Response
      # Represents a render response.
      #
      # This class is used to render views as a result of an interaction.
      class Render < Base
        private

        # Executes the render response.
        #
        # @param controller [ActionController::Base] The controller instance.
        # @return [void]
        def execute(controller)
          controller.render(*@args, @options)
        end
      end
    end
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
plutonium-0.19.2 lib/plutonium/interaction/response/render.rb
plutonium-0.19.1 lib/plutonium/interaction/response/render.rb
plutonium-0.19.0 lib/plutonium/interaction/response/render.rb
plutonium-0.18.8 lib/plutonium/interaction/response/render.rb
plutonium-0.18.7 lib/plutonium/interaction/response/render.rb
plutonium-0.18.6 lib/plutonium/interaction/response/render.rb
plutonium-0.18.5 lib/plutonium/interaction/response/render.rb
plutonium-0.18.4 lib/plutonium/interaction/response/render.rb
plutonium-0.18.3 lib/plutonium/interaction/response/render.rb
plutonium-0.18.2 lib/plutonium/interaction/response/render.rb
plutonium-0.18.1 lib/plutonium/interaction/response/render.rb
plutonium-0.18.0 lib/plutonium/interaction/response/render.rb
plutonium-0.16.5 lib/plutonium/interaction/response/render.rb
plutonium-0.16.4 lib/plutonium/interaction/response/render.rb
plutonium-0.16.3 lib/plutonium/interaction/response/render.rb
plutonium-0.16.1 lib/plutonium/interaction/response/render.rb
plutonium-0.16.0 lib/plutonium/interaction/response/render.rb
plutonium-0.15.24 lib/plutonium/interaction/response/render.rb
plutonium-0.15.23 lib/plutonium/interaction/response/render.rb
plutonium-0.15.22 lib/plutonium/interaction/response/render.rb