    # File lib/fog/aws/models/compute/internet_gateways.rb, line 56
            def all(filters = filters)
              unless filters.is_a?(Hash)
                Fog::Logger.warning("all with #{filters.class} param is deprecated, use all('internet-gateway-id' => []) instead [light_black](#{caller.first})[/]")
                filters = {'internet-gateway-id' => [*filters]}
              end
              self.filters = filters
              data = service.describe_internet_gateways(filters).body
              load(data['internetGatewaySet'])
            end