Method: HalApi::Representer::Curies::ClassMethods#link

Defined in:
lib/hal_api/representer/curies.rb


46
47
48
49
50
# File 'lib/hal_api/representer/curies.rb', line 46

def link(options, &block)
  options = {:rel => options} unless options.is_a?(Hash)
  options[:rel] = curify(options[:rel])
  super(options, &block)
end