Sha256: a8cec095363aa40ec7653d2d98a2ad807cc4091d4cc8443675d2ed237ee591b5

Contents?: true

Size: 771 Bytes

Versions: 66

Compression:

Stored size: 771 Bytes

Contents

module Fog
  module Compute
    class OpenStack
      class Real

        def delete_security_group_rule(security_group_rule_id)
          request(
            :expects  => 202,
            :method   => 'DELETE',
            :path     => "os-security-group-rules/#{security_group_rule_id}"
          )
        end

      end

      class Mock
        def delete_security_group_rule(security_group_rule_id)
          response = Excon::Response.new
          response.status = 202
          response.headers = {
            "Content-Type" => "text/html; charset=UTF-8",
            "Content-Length" => "0",
            "Date" => Date.new
          }
          response.body = {}
          response
        end
      end # mock
    end # openstack
  end # compute
end # fog

Version data entries

66 entries across 66 versions & 13 rubygems

Version Path
fog-1.11.1 lib/fog/openstack/requests/compute/delete_security_group_rule.rb
fog-1.11.0 lib/fog/openstack/requests/compute/delete_security_group_rule.rb
fog-nirvanix-1.8.1 lib/fog/openstack/requests/compute/delete_security_group_rule.rb
fog-1.10.1 lib/fog/openstack/requests/compute/delete_security_group_rule.rb
fog-parser-fix-1.6.1 lib/fog/openstack/requests/compute/delete_security_group_rule.rb
fog-test-again-1.6.0 lib/fog/openstack/requests/compute/delete_security_group_rule.rb
fog-test-me-1.10.0 lib/fog/openstack/requests/compute/delete_security_group_rule.rb
fog-parser-fix-1.6.0 lib/fog/openstack/requests/compute/delete_security_group_rule.rb
cifrado-0.1.3 vendor/fog/lib/fog/openstack/requests/compute/delete_security_group_rule.rb
fog-1.10.0 lib/fog/openstack/requests/compute/delete_security_group_rule.rb
cifrado-0.1.2 vendor/fog/lib/fog/openstack/requests/compute/delete_security_group_rule.rb
cifrado-0.1.1 vendor/fog/lib/fog/openstack/requests/compute/delete_security_group_rule.rb
cifrado-0.1 vendor/fog/lib/fog/openstack/requests/compute/delete_security_group_rule.rb
fog-1.9.0 lib/fog/openstack/requests/compute/delete_security_group_rule.rb
fog-maestrodev-1.8.0.20130114204828 lib/fog/openstack/requests/compute/delete_security_group_rule.rb
fog-maestrodev-1.8.0.20130111070250 lib/fog/openstack/requests/compute/delete_security_group_rule.rb
fog-maestrodev-1.8.0.20130109172219 lib/fog/openstack/requests/compute/delete_security_group_rule.rb
ey-vendored-backup-3.0.27 vendor/gems/fog/lib/fog/openstack/requests/compute/delete_security_group_rule.rb
fog-sgonyea-1.8.1 lib/fog/openstack/requests/compute/delete_security_group_rule.rb
fog-1.8.0 lib/fog/openstack/requests/compute/delete_security_group_rule.rb