Class: Dynamocli::Client
- Inherits:
-
Thor
- Object
- Thor
- Dynamocli::Client
- Defined in:
- lib/dynamocli.rb
Instance Method Summary collapse
Instance Method Details
#erase(table) ⇒ Object
33 34 35 |
# File 'lib/dynamocli.rb', line 33 def erase(table) Dynamocli::Erase.new(table_name: table, with_drift: ["with-drift"]).start end |
#import(file) ⇒ Object
16 17 18 |
# File 'lib/dynamocli.rb', line 16 def import(file) Dynamocli::Import.new(file: file, table: [:to]).start end |