Module Grape::ContentTypes
In: lib/grape/util/content_types.rb

Methods

Constants

CONTENT_TYPES = { # rubocop:disable Style/MutableConstant xml: 'application/xml', serializable_hash: 'application/json', json: 'application/json', binary: 'application/octet-stream', txt: 'text/plain'   Content types are listed in order of preference.

Public Class methods

[Validate]