class Akashi::Vpc::RouteTable

Public Instance Methods

create_route(internet_gateway:) click to toggle source
# File lib/akashi/vpc/route_table.rb, line 8
def create_route(internet_gateway:)
  @object.create_route("0.0.0.0/0", internet_gateway: internet_gateway.id)
  puts "Created a Route to an InternetGateway (#{internet_gateway.id}) on a RouteTable (#{id})."
end
vpc_id() click to toggle source
# File lib/akashi/vpc/route_table.rb, line 4
def vpc_id
  @object.vpc.id
end