lib/finix/resources/hypermedia.rb in finix-0.16 vs lib/finix/resources/hypermedia.rb in finix-1.0.0

- old
+ new

@@ -9,11 +9,11 @@ module ClassMethods def define_hypermedia_types(types) @hypermedia_types = types.map! do |t| t.to_s - end.sort!.freeze + end.sort! @hypermedia_types.each do |type| Finix.hypermedia_registry[type] = self end end @@ -21,6 +21,6 @@ attr_reader :hypermedia_types end end -end \ No newline at end of file +end