Method: Mara::Model::Persistence#to_item

Defined in:
lib/mara/model/persistence.rb

#to_itemHash

Create a DynamoDB representation of the model.

Since:

  • 1.0.0



63
64
65
# File 'lib/mara/model/persistence.rb', line 63

def to_item
  to_dynamo.merge(primary_key)
end