Sha256: 876cf8e36f1f39e1e89d3fdacddd262e7154c80f16deb7f16bf7120aa2978af6

Contents?: true

Size: 703 Bytes

Versions: 2

Compression:

Stored size: 703 Bytes

Contents

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

class SiteHub
  REQUEST_MAPPING = 'sitehub.request_mapping'.freeze
  RESPONSE = 'sitehub.response'.freeze
  ASYNC_CALLBACK = 'async.callback'.freeze
  RECORDED_ROUTES_COOKIE = 'sitehub.recorded_route'.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_WITH_SPACE = ", "

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sitehub-0.4.2 lib/sitehub/constants.rb
sitehub-0.4.1 lib/sitehub/constants.rb