Module: Eaglenube::ApiWrapper::AWS::Subnet

Included in:
Synchronizer::AWS::Subnet::SubnetSyncMethods
Defined in:
lib/eaglenube/api_wrapper/aws/subnet.rb

Instance Method Summary collapse

Instance Method Details

#describe_subnets(credential, region_code) ⇒ Object



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

def describe_subnets(credential, region_code)
  agent = Eaglenube::AWSAgent.get_compute_agent(credential, region_code)
  agent.describe_subnets.try(:subnets)
end