class VPC::VpnStub
Public Class Methods
new(vpc)
click to toggle source
Calls superclass method
VPC::Vpn::new
# File lib/etude_for_aws/vpc/vpn.rb, line 159 def initialize(vpc) super @stub = true end
Public Instance Methods
delete_customer_gateway()
click to toggle source
Calls superclass method
VPC::Vpn#delete_customer_gateway
# File lib/etude_for_aws/vpc/vpn.rb, line 164 def delete_customer_gateway @gateway.ec2.stub_responses(:describe_customer_gateways, { customer_gateways: [ { customer_gateway_id: 'String', tags: [ { key:'Name', value: 'TestCustomerGateway' } ] } ] }) super end
delete_route()
click to toggle source
Calls superclass method
VPC::Vpn#delete_route
# File lib/etude_for_aws/vpc/vpn.rb, line 239 def delete_route super @route_tables = [] end
delete_virtual_gateway()
click to toggle source
Calls superclass method
# File lib/etude_for_aws/vpc/vpn.rb, line 182 def delete_virtual_gateway @gateway.ec2.stub_responses(:describe_vpn_gateways, { vpn_gateways: [ { vpn_gateway_id: 'String', tags: [ { key:'Name', value: 'TestVpnGateway' } ] } ] }) super end
delete_vpn_connection()
click to toggle source
Calls superclass method
VPC::Vpn#delete_vpn_connection
# File lib/etude_for_aws/vpc/vpn.rb, line 220 def delete_vpn_connection @gateway.ec2.stub_responses(:describe_vpn_connections, { vpn_connections: [ { vpn_connection_id: 'String', tags: [ { key:'Name', value: 'TestVpnGateway' } ] } ] }) super end
detach_vpn_gateway()
click to toggle source
Calls superclass method
VPC::Vpn#detach_vpn_gateway
# File lib/etude_for_aws/vpc/vpn.rb, line 201 def detach_vpn_gateway @gateway.ec2.stub_responses(:describe_vpn_gateways, { vpn_gateways: [ { vpn_gateway_id: 'String', tags: [ { key:'Name', value: 'TestVpnGateway' } ] } ] }) super end