1
0
Fork 0
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:
Alex Malinovich 2010-05-03 08:51:40 +08:00 committed by Wesley Beary
parent bb1f2e5a72
commit c2b751e0b3
2 changed files with 10 additions and 4 deletions

View file

@ -12,8 +12,11 @@ module Fog
# ==== Returns
# * response<~Excon::Response>:
# * body<~Hash>:
# * 'requestId'<~String> - Id of request
# * 'return'<~Boolean> - success?
# * 'ResponseMetadata'<~Hash>:
# * '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)
params = ELB.indexed_param('Instances.member.%.InstanceId', [*instance_ids], 1)
request({

View file

@ -12,8 +12,11 @@ module Fog
# ==== Returns
# * response<~Excon::Response>:
# * body<~Hash>:
# * 'requestId'<~String> - Id of request
# * 'return'<~Boolean> - success?
# * 'ResponseMetadata'<~Hash>:
# * '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)
params = ELB.indexed_param('Instances.member.%.InstanceId', [*instance_ids], 1)
request({