Sha256: dd64b34d3304eaa1661a7ad3b188e906f2c09702c65ad884d42a1bb5fdb032b7

Contents?: true

Size: 174 Bytes

Versions: 103

Compression:

Stored size: 174 Bytes

Contents

api_mime_types = %w(
  application/vnd.api+json
  text/x-json
  application/json
)

Mime::Type.unregister :json
Mime::Type.register 'application/json', :json, api_mime_types

Version data entries

103 entries across 103 versions & 4 rubygems

Version Path
spree_api-4.10.1 config/initializers/json_api_mime_types.rb
spree_api-4.10.0 config/initializers/json_api_mime_types.rb
spree_api-4.9.0 config/initializers/json_api_mime_types.rb
spree_api-4.8.3 config/initializers/json_api_mime_types.rb
spree_api-4.8.2 config/initializers/json_api_mime_types.rb
spree_api-4.7.3 config/initializers/json_api_mime_types.rb
spree_api-4.6.6 config/initializers/json_api_mime_types.rb
spree_api-4.5.5 config/initializers/json_api_mime_types.rb
spree_api-4.0.9 config/initializers/json_api_mime_types.rb
spree_api-4.1.15 config/initializers/json_api_mime_types.rb
spree_api-4.2.7 config/initializers/json_api_mime_types.rb
spree_api-4.3.3 config/initializers/json_api_mime_types.rb
spree_api-4.4.1 config/initializers/json_api_mime_types.rb
spree_api-4.5.4 config/initializers/json_api_mime_types.rb
spree_api-4.6.5 config/initializers/json_api_mime_types.rb
spree_api-4.7.2 config/initializers/json_api_mime_types.rb
spree_api-4.7.1 config/initializers/json_api_mime_types.rb
spree_api-4.6.4 config/initializers/json_api_mime_types.rb
spree_api-4.7.0 config/initializers/json_api_mime_types.rb
spree_api-4.6.3 config/initializers/json_api_mime_types.rb