Class Rudy::AWS::EC2::Volume

  1. lib/rudy/aws/ec2/volume.rb
Parent: Storable

Public instance methods

attached? ()
[show source]
    # File lib/rudy/aws/ec2/volume.rb, line 35
35:       def attached?; (status && status == "attached"); end
available? ()
[show source]
    # File lib/rudy/aws/ec2/volume.rb, line 32
32:       def available?; (status && status == "available"); end
creating? ()
[show source]
    # File lib/rudy/aws/ec2/volume.rb, line 33
33:       def creating?; (status && status == "creating"); end
deleting? ()
[show source]
    # File lib/rudy/aws/ec2/volume.rb, line 34
34:       def deleting?; (status && status == "deleting"); end
in_use? ()
[show source]
    # File lib/rudy/aws/ec2/volume.rb, line 36
36:       def in_use?; (status && status == "in-use"); end
postprocess ()
[show source]
    # File lib/rudy/aws/ec2/volume.rb, line 18
18:       def postprocess
19:         @zone &&= @zone.to_sym
20:         @size &&= @size.to_i
21:       end
state ()

Alias for status

[show source]
    # File lib/rudy/aws/ec2/volume.rb, line 28
28:       def state
29:         status
30:       end
to_s (*args)
[show source]
    # File lib/rudy/aws/ec2/volume.rb, line 23
23:       def to_s(*args)
24:         [@awsid.bright, @zone, @size, @created, @instid, @snapid].join '; '
25:       end