Sha256: d35f127b2bfbfa2474b0582c9ccf2ac66c6618dab72a2dd5c6a41624e6c80498

Contents?: true

Size: 1 KB

Versions: 16

Compression:

Stored size: 1 KB

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 headers
    HEADER_LINK = "Link".freeze

    HEADER_NEXT = "X-Next".freeze

    HEADER_LAST = "X-Last".freeze

    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_PER_PAGE = "per_page".freeze

    PARAM_START_PAGE = "start_page".freeze

    # URI parsing
    QUERY_STR_SEP = '?'.freeze


  end # Constants
end # BitBucket

Version data entries

16 entries across 16 versions & 4 rubygems

Version Path
zz_bitbucket_rest_api-0.1.11 lib/bitbucket_rest_api/constants.rb
zz_bitbucket_rest_api-0.1.10 lib/bitbucket_rest_api/constants.rb
zz_bitbucket_rest_api-0.1.9 lib/bitbucket_rest_api/constants.rb
zz_bitbucket_rest_api-0.1.8 lib/bitbucket_rest_api/constants.rb
bitbucket_rest_api2-0.9.5 lib/bitbucket_rest_api/constants.rb
bitbucket_rest_api2-0.9.1 lib/bitbucket_rest_api/constants.rb
bitbucket_rest_api2-0.2.2 lib/bitbucket_rest_api/constants.rb
bitbucket_rest_api2-0.2.1 lib/bitbucket_rest_api/constants.rb
bitbucket_rest_api2-0.2.0 lib/bitbucket_rest_api/constants.rb
bitbucket_rest_api-0.1.7 lib/bitbucket_rest_api/constants.rb
reenhanced_bitbucket_api-0.1.6 lib/bitbucket_rest_api/constants.rb
bitbucket_rest_api-0.1.5 lib/bitbucket_rest_api/constants.rb
bitbucket_rest_api-0.1.4 lib/bitbucket_rest_api/constants.rb
bitbucket_rest_api-0.1.2 lib/bitbucket_rest_api/constants.rb
bitbucket_rest_api-0.1.1 lib/bitbucket_rest_api/constants.rb
bitbucket_rest_api-0.1.0 lib/bitbucket_rest_api/constants.rb