Sha256: 1683bae641de84bed4ca603a1065c4f64ee27416267156dc4e5af1bfd2581cf6

Contents?: true

Size: 299 Bytes

Versions: 23

Compression:

Stored size: 299 Bytes

Contents

module Rack::App::InstanceMethods::Params

  E = ::Rack::App::Constants::ENV

  def params
    request.env[E::PARAMS].to_hash
  end

  def path_segments_params
    request.env[E::PARAMS].path_segments_params
  end

  def query_string_params
    request.env[E::PARAMS].query_string_params
  end

end

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
rack-app-11.0.2 lib/rack/app/instance_methods/params.rb
rack-app-11.0.1 lib/rack/app/instance_methods/params.rb
rack-app-11.0.0 lib/rack/app/instance_methods/params.rb
rack-app-10.0.0 lib/rack/app/instance_methods/params.rb
rack-app-9.0.0 lib/rack/app/instance_methods/params.rb
rack-app-8.1.0 lib/rack/app/instance_methods/params.rb
rack-app-8.0.1 lib/rack/app/instance_methods/params.rb
rack-app-8.0.0 lib/rack/app/instance_methods/params.rb
mountapi-0.11.1 vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/instance_methods/params.rb
rack-app-7.7.0 lib/rack/app/instance_methods/params.rb
rack-app-7.6.5 lib/rack/app/instance_methods/params.rb
rack-app-7.6.4 lib/rack/app/instance_methods/params.rb
rack-app-7.6.3 lib/rack/app/instance_methods/params.rb
rack-app-7.6.2 lib/rack/app/instance_methods/params.rb
rack-app-7.6.1 lib/rack/app/instance_methods/params.rb
rack-app-7.6.0 lib/rack/app/instance_methods/params.rb
rack-app-7.5.2 lib/rack/app/instance_methods/params.rb
rack-app-7.5.1 lib/rack/app/instance_methods/params.rb
rack-app-7.5.0 lib/rack/app/instance_methods/params.rb
rack-app-7.4.0 lib/rack/app/instance_methods/params.rb