Sha256: 4141939765f49f93de5323d2359b13f9c424cccb529b6fc1114cd43ab3aa7a7f

Contents?: true

Size: 205 Bytes

Versions: 10

Compression:

Stored size: 205 Bytes

Contents

module VersionCake
  class RequestParameterStrategy < ExtractionStrategy

    def execute(request)
      if request.POST.has_key? version_key
        request.POST[version_key]
      end
    end

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
versioncake-4.1.1 lib/versioncake/strategies/request_parameter_strategy.rb
versioncake-4.1.0 lib/versioncake/strategies/request_parameter_strategy.rb
versioncake-4.0.2 lib/versioncake/strategies/request_parameter_strategy.rb
versioncake-4.0.1 lib/versioncake/strategies/request_parameter_strategy.rb
versioncake-4.0.0 lib/versioncake/strategies/request_parameter_strategy.rb
versioncake-3.4.0 lib/versioncake/strategies/request_parameter_strategy.rb
versioncake-3.3.0 lib/versioncake/strategies/request_parameter_strategy.rb
versioncake-3.2.0 lib/versioncake/strategies/request_parameter_strategy.rb
versioncake-3.1.0 lib/versioncake/strategies/request_parameter_strategy.rb
versioncake-3.0.0 lib/versioncake/strategies/request_parameter_strategy.rb