class Rudy::AWS::EC2::Volume
Public Instance Methods
attached?()
click to toggle source
# File lib/rudy/aws/ec2/volume.rb, line 35 def attached?; (status && status == "attached"); end
available?()
click to toggle source
# File lib/rudy/aws/ec2/volume.rb, line 32 def available?; (status && status == "available"); end
creating?()
click to toggle source
# File lib/rudy/aws/ec2/volume.rb, line 33 def creating?; (status && status == "creating"); end
deleting?()
click to toggle source
# File lib/rudy/aws/ec2/volume.rb, line 34 def deleting?; (status && status == "deleting"); end
in_use?()
click to toggle source
# File lib/rudy/aws/ec2/volume.rb, line 36 def in_use?; (status && status == "in-use"); end
postprocess()
click to toggle source
# File lib/rudy/aws/ec2/volume.rb, line 18 def postprocess @zone &&= @zone.to_sym @size &&= @size.to_i end
state()
click to toggle source
Alias for status
# File lib/rudy/aws/ec2/volume.rb, line 28 def state status end
to_s(*args)
click to toggle source
# File lib/rudy/aws/ec2/volume.rb, line 23 def to_s(*args) [@awsid.bright, @zone, @size, @created, @instid, @snapid].join '; ' end