@return [Symbol]
@return [VPC]
@return [VPNGateway]
@private
# File lib/aws/ec2/vpn_gateway/attachment.rb, line 20 def initialize vpn_gateway, details @vpn_gateway = vpn_gateway @vpc = VPC.new(details.vpc_id, :config => vpn_gateway.config) @state = details.state.to_sym end
Deletes this attachment. @return (see AWS::EC2::VPNGateway#detach)
# File lib/aws/ec2/vpn_gateway/attachment.rb, line 37 def delete vpn_gateway.detach(vpc) end