Module: Rack::LinkedData
- Defined in:
- lib/rack/linkeddata.rb,
lib/rack/linkeddata/conneg.rb,
lib/rack/linkeddata/version.rb
Defined Under Namespace
Modules: VERSION Classes: ContentNegotiation
Class Method Summary collapse
-
.register_mime_types!(overwrite: false, **options)
Registers all known RDF formats with Rack’s MIME types registry.
Class Method Details
.register_mime_types!(overwrite: false, **options)
This method returns an undefined value.
Registers all known RDF formats with Rack’s MIME types registry.
15 16 17 |
# File 'lib/rack/linkeddata.rb', line 15 def self.register_mime_types!(overwrite: false, **) Rack::RDF.register_mime_types!(overwrite: overwrite, **) end |