require 'fiona7/attribute_readers/attribute_reader' require 'fiona7/blob_id_generator' module Fiona7 module AttributeReaders class BinaryAsBinary < AttributeReader def call {id: Fiona7::BlobIdGenerator.new(self.obj.id, self.obj.last_changed).call} end end end end