Sha256: ce56ab00984969165797fd4fab1778facf9d5cbeed76f6d515704ef67a05ce99
Contents?: true
Size: 560 Bytes
Versions: 1
Compression:
Stored size: 560 Bytes
Contents
require "forwardable" require "swa/resource" require "swa/ec2/tagged_resource" module Swa module EC2 class Snapshot < Resource include TaggedResource def summary [ pad(s.snapshot_id, 13), pad(s.volume_id, 12), sprintf("%4d ", s.volume_size), s.start_time.iso8601, rpad(s.progress, 5), quoted(s.description) ].join(" ") end extend Forwardable def_delegators :s, :delete private alias_method :s, :aws_resource end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
swa-0.3.1 | lib/swa/ec2/snapshot.rb |