Module: Medie

Defined in:
lib/medie.rb,
lib/medie/link.rb,
lib/medie/linked.rb,
lib/medie/generic.rb,
lib/medie/registry.rb,
lib/medie/xml/links.rb,
lib/medie/json/links.rb,
lib/medie/xml/driver.rb,
lib/medie/json/driver.rb,
lib/medie/open_search/driver.rb,
lib/medie/open_search/descriptor.rb,
lib/medie/form_url_encoded/driver.rb

Overview

Medie supports by default a series of media formats, such as xml, json, atom, opensearch and form-urlencoded.

Use register to register your own media format, but do not forget to contribute with your converter if it is a well known media type that Medie still does not support.

Defined Under Namespace

Modules: FormUrlEncoded, Json, Linked, OpenSearch, Xml Classes: Generic, Link, Registry

Class Method Summary collapse

Class Method Details

.registryObject



11
12
13
# File 'lib/medie.rb', line 11

def self.registry
  @registry ||= Registry.new
end