Class: EbsSnapshotter::CLI
- Inherits:
-
Thor
- Object
- Thor
- EbsSnapshotter::CLI
- Includes:
- Thor::Actions
- Defined in:
- lib/ebs_snapshotter/cli.rb
Instance Method Summary collapse
Instance Method Details
#snapshot ⇒ Object
14 15 16 17 |
# File 'lib/ebs_snapshotter/cli.rb', line 14 def snapshot snapshotter = EbsSnapshotter::Snapshotter.new([:config_path], [:volume_id]) snapshotter.snapshot end |