Class: Awsum::Ec2::AvailabilityZone

Inherits:
Object
  • Object
show all
Defined in:
lib/awsum/ec2/availability_zone.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject (readonly)

Returns the value of attribute name.



6
7
8
# File 'lib/awsum/ec2/availability_zone.rb', line 6

def name
  @name
end

#region_nameObject (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

#stateObject (readonly)

Returns the value of attribute state.



6
7
8
# File 'lib/awsum/ec2/availability_zone.rb', line 6

def state
  @state
end