Class: HecksAdapters::DynamoDB::Commands::Delete

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

Overview

Delete a resource on Dynamo DB

Instance Method Summary collapse

Constructor Details

#initialize(query, head, client) ⇒ Delete

Returns a new instance of Delete.



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

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

Instance Method Details

#callObject



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

def call
  delete_item
  self
end