Sha256: 32fad387623326eb450e9802cd6609b5a2255e67cbee09e627dd4138c9f19790

Contents?: true

Size: 880 Bytes

Versions: 5

Compression:

Stored size: 880 Bytes

Contents

module BitBucket
  module Constants
    extend self

    # Response headers
    RATELIMIT_REMAINING = 'X-RateLimit-Remaining'.freeze

    RATELIMIT_LIMIT = 'X-RateLimit-Limit'.freeze

    CONTENT_TYPE = 'Content-Type'.freeze

    CONTENT_LENGTH = 'content-length'.freeze

    CACHE_CONTROL = 'cache-control'.freeze

    ETAG = 'ETag'.freeze

    SERVER = 'Server'.freeze

    DATE = 'Date'.freeze

    LOCATION = 'Location'.freeze

    USER_AGENT = 'User-Agent'.freeze

    ACCEPT = 'Accept'.freeze

    ACCEPT_CHARSET = 'Accept-Charset'.freeze

    # Link params
    META_REL = "rel".freeze

    META_LAST = "last".freeze

    META_NEXT = "next".freeze

    META_FIRST = "first".freeze

    META_PREV = "prev".freeze

    PARAM_PAGE = "page".freeze

    PARAM_START_PAGE = "start_page".freeze

    # URI parsing
    QUERY_STR_SEP = '?'.freeze


  end # Constants
end # BitBucket

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
codenamev_bitbucket_api-0.4.1 lib/bitbucket_rest_api/constants.rb
codenamev_bitbucket_api-0.4.0 lib/bitbucket_rest_api/constants.rb
reenhanced_bitbucket_api-0.3.2 lib/bitbucket_rest_api/constants.rb
reenhanced_bitbucket_api-0.3.1 lib/bitbucket_rest_api/constants.rb
reenhanced_bitbucket_api-0.3.0 lib/bitbucket_rest_api/constants.rb