Remove an existing route table
route_tables.destroy
True or false depending on the result
# File lib/fog/aws/models/compute/route_table.rb, line 28 def destroy requires :id service.delete_route_table(id) true end
Create a route table
>> routetable = connection.route_tables.new >> routetable.save
True or an exception depending on the result. Keep in mind that this creates a new route table.
# File lib/fog/aws/models/compute/route_table.rb, line 45 def save requires :vpc_id data = service.create_route_table(vpc_id).body['routeTable'].first new_attributes = data.reject {|key,value| key == 'requestId'} merge_attributes(new_attributes) true end
Generated with the Darkfish Rdoc Generator 2.