Sha256: fef50df3a1376939f9ee65bd30c0ab5a8062711ccf6d69bda98b1c2fe6fcb429

Contents?: true

Size: 521 Bytes

Versions: 40

Compression:

Stored size: 521 Bytes

Contents

# frozen_string_literal: true

# https://www.contentful.com/developers/docs/references/content-management-api/
Mime::Type.register 'application/vnd.contentful.management.v1+json', :json_mgmt
# https://www.contentful.com/developers/docs/references/content-delivery-api/
Mime::Type.register 'application/vnd.contentful.delivery.v1+json',   :json_cda

Mime::Type.register 'application/json', :json, [
  'application/vnd.contentful.management.v1+json',
  'application/vnd.contentful.delivery.v1+json',
  'application/json'
]

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
wcc-contentful-1.1.0 config/initializers/mime_types.rb
wcc-contentful-1.0.8 config/initializers/mime_types.rb
wcc-contentful-1.0.7 config/initializers/mime_types.rb
wcc-contentful-1.0.6 config/initializers/mime_types.rb
wcc-contentful-1.0.5 config/initializers/mime_types.rb
wcc-contentful-1.0.4 config/initializers/mime_types.rb
wcc-contentful-1.0.3 config/initializers/mime_types.rb
wcc-contentful-1.0.2 config/initializers/mime_types.rb
wcc-contentful-1.0.1 config/initializers/mime_types.rb
wcc-contentful-1.0.0 config/initializers/mime_types.rb
wcc-contentful-1.0.0.pre.rc3 config/initializers/mime_types.rb
wcc-contentful-1.0.0.pre.rc2 config/initializers/mime_types.rb
wcc-contentful-1.0.0.pre.rc1 config/initializers/mime_types.rb
wcc-contentful-0.4.0.pre.rc config/initializers/mime_types.rb
wcc-contentful-0.4.0.pre.beta config/initializers/mime_types.rb
wcc-contentful-0.4.0.pre.alpha config/initializers/mime_types.rb
wcc-contentful-0.3.0 config/initializers/mime_types.rb
wcc-contentful-0.3.0.pre.rc3 config/initializers/mime_types.rb
wcc-contentful-0.3.0.pre.rc2 config/initializers/mime_types.rb
wcc-contentful-0.3.0.pre.rc config/initializers/mime_types.rb