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