Sha256: cf7912e70ae0ef3e7b965182318803386d65c4fe533917379346085194c6768e
Contents?: true
Size: 240 Bytes
Versions: 11
Compression:
Stored size: 240 Bytes
Contents
module JSONAPI MEDIA_TYPE = "application/vnd.api+json" end Mime::Type.register JSONAPI::MEDIA_TYPE, :api_json ActionDispatch::ParamsParser::DEFAULT_PARSERS[Mime::Type.lookup(JSONAPI::MEDIA_TYPE)]=lambda do |body| JSON.parse(body) end
Version data entries
11 entries across 11 versions & 1 rubygems