Class: HecksAdapters::DynamoDB::Commands::Delete
- Inherits:
-
Object
- Object
- HecksAdapters::DynamoDB::Commands::Delete
- Defined in:
- lib/commands/delete.rb
Overview
Delete a resource on Dynamo DB
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(query, head, client) ⇒ Delete
constructor
A new instance of Delete.
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
#call ⇒ Object
12 13 14 15 |
# File 'lib/commands/delete.rb', line 12 def call delete_item self end |