Module: Rack::LinkedData

Defined in:
vendor/bundler/ruby/3.3.0/bundler/gems/rack-linkeddata-30be12032382/lib/rack/linkeddata.rb,
vendor/bundler/ruby/3.3.0/bundler/gems/rack-linkeddata-30be12032382/lib/rack/linkeddata/conneg.rb,
vendor/bundler/ruby/3.3.0/bundler/gems/rack-linkeddata-30be12032382/lib/rack/linkeddata/version.rb

Defined Under Namespace

Modules: VERSION Classes: ContentNegotiation

Class Method Summary collapse

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.

Parameters:

  • overwrite (Boolean) (defaults to: false)

    (false)

  • options (Hash{Symbol => Object})


15
16
17
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rack-linkeddata-30be12032382/lib/rack/linkeddata.rb', line 15

def self.register_mime_types!(overwrite: false, **options)
  Rack::RDF.register_mime_types!(overwrite: overwrite, **options)
end