require 'fiona7/attribute_readers/attribute_reader' require 'fiona7/attribute_readers/helpers/link_deserializer' module Fiona7 module AttributeReaders class LinklistAsLinklist < AttributeReader def call links = self.obj.attr_values[self.attr_name] || [] links.map do |link| Helpers::LinkDeserializer.new.call(link) end end end end end