class DeleteRunner
Attributes
box[R]
version[R]
Public Class Methods
new(opts)
click to toggle source
# File lib/bento/delete.rb, line 8 def initialize(opts) @box = opts.box @version = opts.version end
Public Instance Methods
start()
click to toggle source
# File lib/bento/delete.rb, line 13 def start banner("Starting Delete...") time = Benchmark.measure do box = vc_account.get_box(box) version = box.get_version(version) version.delete end banner("Delete finished in #{duration(time.real)}.") end