Class: Rack::Accept::MediaType

Inherits:
Object
  • Object
show all
Defined in:
lib/grape/middleware/versioner/parse_media_type_patch.rb

Instance Method Summary collapse

Instance Method Details

#parse_media_type(media_type) ⇒ Object


15
16
17
# File 'lib/grape/middleware/versioner/parse_media_type_patch.rb', line 15

def parse_media_type(media_type)
  Header.parse_media_type(media_type)
end