Sha256: 93a6bb22a32d89697ee657339b1d06e5991d8803a111f7e5bd91b211e94488f6

Contents?: true

Size: 461 Bytes

Versions: 18

Compression:

Stored size: 461 Bytes

Contents

# frozen_string_literal: true

require "much-rails/action/base_command_result"

module MuchRails; end
module MuchRails::Action; end

# MuchRails::Action::RedirectToResult is a command result for the
# `redirect_to` controller response command.
class MuchRails::Action::RedirectToResult < MuchRails::Action::BaseCommandResult
  def initialize(*redirect_to_args)
    super(:redirect_to, *redirect_to_args)
  end

  def redirect_to_args
    command_args
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
much-rails-0.4.3 lib/much-rails/action/redirect_to_result.rb
much-rails-0.4.2 lib/much-rails/action/redirect_to_result.rb
much-rails-0.4.1 lib/much-rails/action/redirect_to_result.rb
much-rails-0.4.0 lib/much-rails/action/redirect_to_result.rb
much-rails-0.3.0 lib/much-rails/action/redirect_to_result.rb
much-rails-0.2.8 lib/much-rails/action/redirect_to_result.rb
much-rails-0.2.7 lib/much-rails/action/redirect_to_result.rb
much-rails-0.2.6 lib/much-rails/action/redirect_to_result.rb
much-rails-0.2.5 lib/much-rails/action/redirect_to_result.rb
much-rails-0.2.4 lib/much-rails/action/redirect_to_result.rb
much-rails-0.2.3 lib/much-rails/action/redirect_to_result.rb
much-rails-0.2.2 lib/much-rails/action/redirect_to_result.rb
much-rails-0.2.1 lib/much-rails/action/redirect_to_result.rb
much-rails-0.2.0 lib/much-rails/action/redirect_to_result.rb
much-rails-0.1.3 lib/much-rails/action/redirect_to_result.rb
much-rails-0.1.2 lib/much-rails/action/redirect_to_result.rb
much-rails-0.1.1 lib/much-rails/action/redirect_to_result.rb
much-rails-0.1.0 lib/much-rails/action/redirect_to_result.rb