Module: AWS::Record::OptimisticLocking

Included in:
Base
Defined in:
lib/aws/record/optimistic_locking.rb

Instance Method Summary collapse

Instance Method Details

#optimistic_locking(attribute_name = :version_id) ⇒ Object



22
23
24
25
# File 'lib/aws/record/optimistic_locking.rb', line 22

def optimistic_locking attribute_name = :version_id
  attribute = integer_attr(attribute_name)
  @optimistic_locking_attr = attribute
end