Class: DrawCloud::Subnet::SubnetRouteTableAssociation
- Inherits:
-
Object
- Object
- DrawCloud::Subnet::SubnetRouteTableAssociation
- Defined in:
- lib/draw_cloud/subnet.rb
Instance Attribute Summary collapse
-
#route_table ⇒ Object
Returns the value of attribute route_table.
-
#subnet ⇒ Object
Returns the value of attribute subnet.
Instance Method Summary collapse
-
#initialize(subnet, route_table) ⇒ SubnetRouteTableAssociation
constructor
A new instance of SubnetRouteTableAssociation.
- #resource_name ⇒ Object
- #to_h ⇒ Object
Constructor Details
#initialize(subnet, route_table) ⇒ SubnetRouteTableAssociation
Returns a new instance of SubnetRouteTableAssociation.
23 24 25 26 |
# File 'lib/draw_cloud/subnet.rb', line 23 def initialize(subnet, route_table) @subnet = subnet @route_table = route_table end |
Instance Attribute Details
#route_table ⇒ Object
Returns the value of attribute route_table.
22 23 24 |
# File 'lib/draw_cloud/subnet.rb', line 22 def route_table @route_table end |
#subnet ⇒ Object
Returns the value of attribute subnet.
22 23 24 |
# File 'lib/draw_cloud/subnet.rb', line 22 def subnet @subnet end |
Instance Method Details
#resource_name ⇒ Object
28 29 30 |
# File 'lib/draw_cloud/subnet.rb', line 28 def resource_name subnet.resource_name + "RouteTableAssociation" end |