Class: Hecks::Adapters::DynamoDB::Commands::Delete

Inherits:
Object
  • Object
show all
Defined in:
lib/commands/delete.rb

Instance Method Summary collapse

Constructor Details

#initialize(id, head, client) ⇒ Delete

Returns a new instance of Delete.



6
7
8
9
10
# File 'lib/commands/delete.rb', line 6

def initialize(id, head, client)
  @head = head
  @id = id
  @client = client
end

Instance Method Details

#callObject



12
13
14
15
# File 'lib/commands/delete.rb', line 12

def call
  delete_item
  self
end