Module: SonarConstants

Defined in:
lib/sonar.rb

Constant Summary collapse

REQUEST_METHODS =
%w[GET POST PUT PATCH DELETE OPTIONS HEAD TRACE].freeze
SESSION_METHODS =
%w[
  header headers cookies last_request last_response
  auth authorize basic_authorize digest_auth digest_authorize
  reset_auth! reset_basic_auth! reset_digest_auth!
].freeze
DEFAULT_HOST =
'sonar.org'.freeze
DEFAULT_ENV =
{'REMOTE_ADDR' => '127.0.0.1', 'HTTP_HOST' => DEFAULT_HOST}.freeze