Sha256: 67e0e21735f5f30a06ae3398f82454e434e1aa613b619de01289e0bb506217d3

Contents?: true

Size: 468 Bytes

Versions: 22

Compression:

Stored size: 468 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def delete_firewall(firewall_name)
          Fog::Mock.not_implemented
        end
      end

      class Real
        def delete_firewall(firewall_name)
          api_method = @compute.firewalls.delete
          parameters = {
            'project' => @project,
            'firewall' => firewall_name
          }

          request(api_method, parameters)
        end
      end
    end
  end
end

Version data entries

22 entries across 20 versions & 5 rubygems

Version Path
nsidc-fog-1.24.1 lib/fog/google/requests/compute/delete_firewall.rb
fog-1.24.0 lib/fog/google/requests/compute/delete_firewall.rb