Sha256: cede588af3b67b5e3592b8d4c200948b59819bbf2a59482b76300c3e24c356ba
Contents?: true
Size: 302 Bytes
Versions: 10
Compression:
Stored size: 302 Bytes
Contents
module Yaks class Mapper class Attribute include Concord::Public.new(:name) def initialize(name) @name = name end def add_to_resource(resource, mapper, _context) resource.update_attributes(name => mapper.load_attribute(name)) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems