Module: DynamoRecord::Fields
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#read_attribute(name) ⇒ Object
27 28 29 |
# File 'lib/dynamo_record/fields.rb', line 27 def read_attribute(name) attributes[name.to_sym] end |
#write_attribute(name, value) ⇒ Object
23 24 25 |
# File 'lib/dynamo_record/fields.rb', line 23 def write_attribute(name, value) attributes[name.to_sym] = value end |