Sha256: ee4e4028e5cf303f1c3ba3a82bfe150e3b7c586d0757d39211aa5d9301d89f08
Contents?: true
Size: 301 Bytes
Versions: 8
Compression:
Stored size: 301 Bytes
Contents
module Yaks class Mapper class Attribute include Attributes.new(:name) def initialize(name) super(name: name) end def add_to_resource(resource, mapper, _context) resource.merge_attributes(name => mapper.load_attribute(name)) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems