Sha256: a1b42b5c335b9941707bfa251c4de1a674d843a29ce83f8c1fc59781c1be4b1b

Contents?: true

Size: 414 Bytes

Versions: 20

Compression:

Stored size: 414 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def delete_forwarding_rule(_rule, _region)
          Fog::Mock.not_implemented
        end
      end

      class Real
        def delete_forwarding_rule(rule, region)
          region = region.split("/")[-1] if region.start_with? "http"
          @compute.delete_forwarding_rule(@project, region, rule)
        end
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
fog-google-1.9.1 lib/fog/compute/google/requests/delete_forwarding_rule.rb
fog-google-1.9.0 lib/fog/compute/google/requests/delete_forwarding_rule.rb
fog-google-1.8.2 lib/fog/compute/google/requests/delete_forwarding_rule.rb
fog-google-1.8.1 lib/fog/compute/google/requests/delete_forwarding_rule.rb
fog-google-1.8.0 lib/fog/compute/google/requests/delete_forwarding_rule.rb
fog-google-1.7.1 lib/fog/compute/google/requests/delete_forwarding_rule.rb
fog-google-1.7.0 lib/fog/compute/google/requests/delete_forwarding_rule.rb
fog-google-1.6.0 lib/fog/compute/google/requests/delete_forwarding_rule.rb
fog-google-1.5.0 lib/fog/compute/google/requests/delete_forwarding_rule.rb
fog-google-1.4.0 lib/fog/compute/google/requests/delete_forwarding_rule.rb
fog-google-1.3.3 lib/fog/compute/google/requests/delete_forwarding_rule.rb
fog-google-1.3.2 lib/fog/compute/google/requests/delete_forwarding_rule.rb
fog-google-1.3.1 lib/fog/compute/google/requests/delete_forwarding_rule.rb
fog-google-1.3.0 lib/fog/compute/google/requests/delete_forwarding_rule.rb
fog-google-1.2.2 lib/fog/compute/google/requests/delete_forwarding_rule.rb
fog-google-1.2.1 lib/fog/compute/google/requests/delete_forwarding_rule.rb
fog-google-1.2.0 lib/fog/compute/google/requests/delete_forwarding_rule.rb
fog-google-1.1.0 lib/fog/compute/google/requests/delete_forwarding_rule.rb
fog-google-1.0.1 lib/fog/compute/google/requests/delete_forwarding_rule.rb
fog-google-1.0.0 lib/fog/compute/google/requests/delete_forwarding_rule.rb