Class/Module Index [+]

Quicksearch

Grape::ContentTypes

Constants

CONTENT_TYPES

Content types are listed in order of preference.

Public Class Methods

content_types_for(from_settings) click to toggle source
# File lib/grape/util/content_types.rb, line 14
def self.content_types_for(from_settings)
  from_settings || Grape::ContentTypes::CONTENT_TYPES
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.