Sha256: d10d1be358b3655e289fc70d4a73bede3911e0cc1fe77734e524d941c5f5ce6a

Contents?: true

Size: 345 Bytes

Versions: 3

Compression:

Stored size: 345 Bytes

Contents

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

  def params
    @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

3 entries across 3 versions & 1 rubygems

Version Path
rack-app-11.0.1 lib/rack/app/request.rb
rack-app-11.0.0 lib/rack/app/request.rb
rack-app-10.0.0 lib/rack/app/request.rb