Sha256: acee1265cbb4b113396440999d6feda3452c7306f71ab60d12a7a0c1bc561b37

Contents?: true

Size: 779 Bytes

Versions: 1

Compression:

Stored size: 779 Bytes

Contents

require 'sitehub/constants/http_header_keys'
require 'sitehub/constants/rack_http_header_keys'

class SiteHub
  REQUEST_MAPPING = 'sitehub.request_mapping'.freeze
  REQUEST = 'sitehub.request'.freeze
  RESPONSE = 'sitehub.response'.freeze
  ASYNC_CALLBACK = 'async.callback'.freeze
  RECORDED_ROUTES_COOKIE = 'sitehub.recorded_route'.freeze
  RECORDED_ROUTES_COOKIE_PATH = '/'.freeze
  ERRORS = 'sitehub.errors'.freeze
  TIME_STAMP_FORMAT = '%d/%b/%Y:%H:%M:%S %z'.freeze
  EMPTY_STRING = ''.freeze
  UNDERSCORE = '_'.freeze
  SEMICOLON = ';'.freeze
  SPACE = ' '.freeze
  SEMICOLON_WITH_SPACE = "#{SEMICOLON}#{SPACE}".freeze
  COMMA = ','.freeze

  HYPHEN = '-'.freeze
  QUESTION_MARK = '?'.freeze
  EQUALS_SIGN = '='.freeze
  FULL_STOP = '.'.freeze
  NEW_LINE = "\n".freeze
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sitehub-0.5.0.alpha12 lib/sitehub/constants.rb