Sha256: 868aeb4490f3692da9e4c2db46ca3e7fa736bd37721c2c2e7903d68492769a29

Contents?: true

Size: 486 Bytes

Versions: 12

Compression:

Stored size: 486 Bytes

Contents

module Fog
  module Brightbox
    class Compute
      class Real

        def destroy_api_client(identifier, options = {})
          return nil if identifier.nil? || identifier == ""
          request(
            :expects  => [200],
            :method   => 'DELETE',
            :path     => "/1.0/api_clients/#{identifier}",
            :headers  => {"Content-Type" => "application/json"},
            :body     => options.to_json
          )
        end

      end
    end
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
fog-0.8.2 lib/fog/compute/requests/brightbox/destroy_api_client.rb
fog-0.8.1 lib/fog/compute/requests/brightbox/destroy_api_client.rb
fog-0.8.0 lib/fog/compute/requests/brightbox/destroy_api_client.rb
fog-0.7.2 lib/fog/compute/requests/brightbox/destroy_api_client.rb
fog-0.7.1 lib/fog/compute/requests/brightbox/destroy_api_client.rb
fog-0.7.0 lib/fog/compute/requests/brightbox/destroy_api_client.rb
bbcloud-0.11.2 lib/bbcloud/vendor/fog/lib/fog/compute/requests/brightbox/destroy_api_client.rb
bbcloud-0.11.1 lib/bbcloud/vendor/fog/lib/fog/compute/requests/brightbox/destroy_api_client.rb
bbcloud-0.11.0 lib/bbcloud/vendor/fog/lib/fog/compute/requests/brightbox/destroy_api_client.rb
fog-0.6.0 lib/fog/compute/requests/brightbox/destroy_api_client.rb
fog-0.5.3 lib/fog/compute/requests/brightbox/destroy_api_client.rb
fog-0.5.2 lib/fog/compute/requests/brightbox/destroy_api_client.rb