Module: Eaglenube::ApiWrapper::AWS::Loadbalancer

Included in:
Synchronizer::AWS::Loadbalancer::LbSyncMethods
Defined in:
lib/eaglenube/api_wrapper/aws/loadbalancer.rb

Instance Method Summary collapse

Instance Method Details

#describe_load_balancers(credential, region_code) ⇒ Object



10
11
12
13
# File 'lib/eaglenube/api_wrapper/aws/loadbalancer.rb', line 10

def describe_load_balancers(credential, region_code)
  agent = Eaglenube::AWSAgent.get_elb_agent(credential, region_code)
  agent.describe_load_balancers.try(:load_balancers) || []
end