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