class EbsSnapshotter::CLI

Public Instance Methods

snapshot() click to toggle source
# File lib/ebs_snapshotter/cli.rb, line 14
def snapshot
  snapshotter = EbsSnapshotter::Snapshotter.new(options[:config_path], options[:volume_id])
  snapshotter.snapshot
end