Sha256: cadc489452ce556d3fe1d9def9e65427d2f812b9deb8eedcc90c1398333acbde

Contents?: true

Size: 370 Bytes

Versions: 1

Compression:

Stored size: 370 Bytes

Contents

require "rack/request"
class Rack::App::Request < ::Rack::Request

  def params
    @params ||= super.merge(@env[::Rack::App::Constants::ENV::PARAMS].to_hash)
  end

  def path_segments_params
    @env[::Rack::App::Constants::ENV::PARAMS].path_segments_params
  end

  def query_string_params
    @env[::Rack::App::Constants::ENV::PARAMS].query_string_params
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rack-app-11.0.2 lib/rack/app/request.rb