Method: Commutator::Model#delete_item

Defined in:
lib/commutator/model.rb

#delete_item(options = nil) ⇒ Object



81
82
83
84
85
86
87
# File 'lib/commutator/model.rb', line 81

def delete_item(options = nil)
  dynamo_request(:delete_item, options)
  return false if errors.present?

  @deleted = true
  freeze
end