lib/fog/aws/requests/compute/associate_route_table.rb in fog-aws-3.1.0 vs lib/fog/aws/requests/compute/associate_route_table.rb in fog-aws-3.2.0

- old
+ new

@@ -1,8 +1,8 @@ module Fog - module Compute - class AWS + module AWS + class Compute class Real require 'fog/aws/parsers/compute/associate_route_table' # Associates a subnet with a route table. # # ==== Parameters @@ -19,11 +19,11 @@ def associate_route_table(routeTableId, subnetId) request( 'Action' => 'AssociateRouteTable', 'RouteTableId' => routeTableId, 'SubnetId' => subnetId, - :parser => Fog::Parsers::Compute::AWS::AssociateRouteTable.new + :parser => Fog::Parsers::AWS::Compute::AssociateRouteTable.new ) end end class Mock @@ -40,12 +40,12 @@ 'requestId' => Fog::AWS::Mock.request_id, 'associationId' => association['routeTableAssociationId'] } response elsif routetable.nil? - raise Fog::Compute::AWS::NotFound.new("The routeTable ID '#{routeTableId}' does not exist") + raise Fog::AWS::Compute::NotFound.new("The routeTable ID '#{routeTableId}' does not exist") else - raise Fog::Compute::AWS::NotFound.new("The subnet ID '#{subnetId}' does not exist") + raise Fog::AWS::Compute::NotFound.new("The subnet ID '#{subnetId}' does not exist") end end private