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.15.21 lib/plutonium/interaction/response/render.rb
plutonium-0.15.20 lib/plutonium/interaction/response/render.rb
plutonium-0.15.19 lib/plutonium/interaction/response/render.rb
plutonium-0.15.18 lib/plutonium/interaction/response/render.rb
plutonium-0.15.17 lib/plutonium/interaction/response/render.rb
plutonium-0.15.16 lib/plutonium/interaction/response/render.rb
plutonium-0.15.15 lib/plutonium/interaction/response/render.rb
plutonium-0.15.14 lib/plutonium/interaction/response/render.rb
plutonium-0.15.13 lib/plutonium/interaction/response/render.rb
plutonium-0.15.12 lib/plutonium/interaction/response/render.rb
plutonium-0.15.11 lib/plutonium/interaction/response/render.rb
plutonium-0.15.10 lib/plutonium/interaction/response/render.rb
plutonium-0.15.9 lib/plutonium/interaction/response/render.rb
plutonium-0.15.8 lib/plutonium/interaction/response/render.rb
plutonium-0.15.7 lib/plutonium/interaction/response/render.rb
plutonium-0.15.6 lib/plutonium/interaction/response/render.rb
plutonium-0.15.5 lib/plutonium/interaction/response/render.rb
plutonium-0.15.4 lib/plutonium/interaction/response/render.rb
plutonium-0.15.3 lib/plutonium/interaction/response/render.rb
plutonium-0.15.2 lib/plutonium/interaction/response/render.rb