module Finix::HypermediaRegistry::ClassMethods
Attributes
hypermedia_types[R]
Public Instance Methods
define_hypermedia_types(types)
click to toggle source
# File lib/finix/resources/hypermedia.rb, line 11 def define_hypermedia_types(types) @hypermedia_types = types.map! do |t| t.to_s end.sort! @hypermedia_types.each do |type| Finix.hypermedia_registry[type] = self end end