Sha256: 814be369c84c131254bb15ed57c8c951dd0956e1c3a3a2e0a4c4bcc60c98c31a

Contents?: true

Size: 526 Bytes

Versions: 1

Compression:

Stored size: 526 Bytes

Contents

module Fog
  module Compute
    class Brightbox
      class Real

        def remove_listeners_load_balancer(identifier, options = {})
          return nil if identifier.nil? || identifier == ""
          request(
            :expects  => [202],
            :method   => 'POST',
            :path     => "/1.0/load_balancers/#{identifier}/remove_listeners",
            :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/remove_listeners_load_balancer.rb