Class: Swa::EC2::Subnet
- Includes:
- TaggedResource
- Defined in:
- lib/swa/ec2/subnet.rb
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
Methods included from TaggedResource
Methods inherited from Resource
#data, delegate, #initialize, list
Constructor Details
This class inherits a constructor from Swa::Resource
Instance Method Details
#name ⇒ Object
21 22 23 |
# File 'lib/swa/ec2/subnet.rb', line 21 def name ["Name"] end |
#summary ⇒ Object
11 12 13 14 15 16 17 18 19 |
# File 'lib/swa/ec2/subnet.rb', line 11 def summary [ field(subnet, :subnet_id), field(subnet, :vpc_id), field(subnet, :availability_zone), field(subnet, :cidr_block), quoted(name) ].join(" ") end |