Sha256: dfd20a8621ef1ae1a24f5cab6d1a8e4890217727e01ace251f26535d68861c1e

Contents?: true

Size: 496 Bytes

Versions: 1

Compression:

Stored size: 496 Bytes

Contents

module Fog
  module Compute
    class Brightbox
      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     => MultiJson.encode(options)
          )
        end

      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fog-0.10.0 lib/fog/compute/requests/brightbox/destroy_api_client.rb