Class: DrawCloud::Subnet::SubnetNetworkAclAssociation
- Inherits:
-
Object
- Object
- DrawCloud::Subnet::SubnetNetworkAclAssociation
- Defined in:
- lib/draw_cloud/subnet.rb
Instance Attribute Summary collapse
-
#network_acl ⇒ Object
Returns the value of attribute network_acl.
-
#subnet ⇒ Object
Returns the value of attribute subnet.
Instance Method Summary collapse
-
#initialize(subnet, network_acl) ⇒ SubnetNetworkAclAssociation
constructor
A new instance of SubnetNetworkAclAssociation.
- #resource_name ⇒ Object
- #to_h ⇒ Object
Constructor Details
#initialize(subnet, network_acl) ⇒ SubnetNetworkAclAssociation
Returns a new instance of SubnetNetworkAclAssociation.
44 45 46 47 |
# File 'lib/draw_cloud/subnet.rb', line 44 def initialize(subnet, network_acl) @subnet = subnet @network_acl = network_acl end |
Instance Attribute Details
#network_acl ⇒ Object
Returns the value of attribute network_acl.
43 44 45 |
# File 'lib/draw_cloud/subnet.rb', line 43 def network_acl @network_acl end |
#subnet ⇒ Object
Returns the value of attribute subnet.
43 44 45 |
# File 'lib/draw_cloud/subnet.rb', line 43 def subnet @subnet end |
Instance Method Details
#resource_name ⇒ Object
49 50 51 |
# File 'lib/draw_cloud/subnet.rb', line 49 def resource_name subnet.resource_name + "NetworkAclAssociation" end |