Sha256: 6d4357fe2f3682f5abf5c1cb1254ba76654aafc461c686f655815227a7a94b35

Contents?: true

Size: 510 Bytes

Versions: 9

Compression:

Stored size: 510 Bytes

Contents

module Fog
  module Brightbox
    class Compute
      class Real

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

      end
    end
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

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