Class: Awsum::Ec2::AvailabilityZone
- Defined in:
- lib/awsum/ec2/availability_zone.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#region_name ⇒ Object
readonly
Returns the value of attribute region_name.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
Instance Method Summary collapse
-
#initialize(ec2, name, state, region_name) ⇒ AvailabilityZone
constructor
:nodoc:.
Constructor Details
#initialize(ec2, name, state, region_name) ⇒ AvailabilityZone
:nodoc:
8 9 10 11 12 13 |
# File 'lib/awsum/ec2/availability_zone.rb', line 8 def initialize(ec2, name, state, region_name) #:nodoc: @ec2 = ec2 @name = name @state = state @region_name = region_name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
6 7 8 |
# File 'lib/awsum/ec2/availability_zone.rb', line 6 def name @name end |
#region_name ⇒ Object (readonly)
Returns the value of attribute region_name.
6 7 8 |
# File 'lib/awsum/ec2/availability_zone.rb', line 6 def region_name @region_name end |
#state ⇒ Object (readonly)
Returns the value of attribute state.
6 7 8 |
# File 'lib/awsum/ec2/availability_zone.rb', line 6 def state @state end |