module Roar::JSON::HAL::Links::ClassMethods

Public Instance Methods

curies(&block) click to toggle source

Add a CURIEs link section as defined in

curies do

[{:name => :doc,
  :href => "//docs/{rel}",
  :templated => true}
]

end

# File lib/roar/json/hal.rb, line 188
def curies(&block)
  links(:curies, &block)
end