mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[elb] Fixing rdoc for register/deregister requests
This commit is contained in:
parent
bb1f2e5a72
commit
c2b751e0b3
2 changed files with 10 additions and 4 deletions
|
@ -12,8 +12,11 @@ module Fog
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Excon::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'requestId'<~String> - Id of request
|
# * 'ResponseMetadata'<~Hash>:
|
||||||
# * 'return'<~Boolean> - success?
|
# * 'RequestId'<~String> - Id of request
|
||||||
|
# * 'DeregisterInstancesFromLoadBalancerResult'<~Hash>:
|
||||||
|
# * 'Instances'<~Array> - array of hashes describing instances currently enabled
|
||||||
|
# * 'InstanceId'<~String>
|
||||||
def deregister_instances_from_load_balancer(instance_ids, lb_name)
|
def deregister_instances_from_load_balancer(instance_ids, lb_name)
|
||||||
params = ELB.indexed_param('Instances.member.%.InstanceId', [*instance_ids], 1)
|
params = ELB.indexed_param('Instances.member.%.InstanceId', [*instance_ids], 1)
|
||||||
request({
|
request({
|
||||||
|
|
|
@ -12,8 +12,11 @@ module Fog
|
||||||
# ==== Returns
|
# ==== Returns
|
||||||
# * response<~Excon::Response>:
|
# * response<~Excon::Response>:
|
||||||
# * body<~Hash>:
|
# * body<~Hash>:
|
||||||
# * 'requestId'<~String> - Id of request
|
# * 'ResponseMetadata'<~Hash>:
|
||||||
# * 'return'<~Boolean> - success?
|
# * 'RequestId'<~String> - Id of request
|
||||||
|
# * 'RegisterInstancesWithLoadBalancer'<~Hash>:
|
||||||
|
# * 'Instances'<~Array> - array of hashes describing instances currently enabled
|
||||||
|
# * 'InstanceId'<~String>
|
||||||
def register_instances_with_load_balancer(instance_ids, lb_name)
|
def register_instances_with_load_balancer(instance_ids, lb_name)
|
||||||
params = ELB.indexed_param('Instances.member.%.InstanceId', [*instance_ids], 1)
|
params = ELB.indexed_param('Instances.member.%.InstanceId', [*instance_ids], 1)
|
||||||
request({
|
request({
|
||||||
|
|
Loading…
Add table
Reference in a new issue