Module: Eaglenube::ApiWrapper::AWS::InternetGateway

Includes:
Eaglenube::AWSAgent
Defined in:
lib/eaglenube/api_wrapper/aws/internet_gateway.rb

Instance Method Summary collapse

Methods included from Eaglenube::AWSAgent

get_acm_agent, get_auto_scaling_agent, get_cloud_watch_agent, get_compute_agent, get_ecs_agent, get_elb_agent, get_iam_agent, get_kms_agent, get_rds_agent, get_redshift_agent, get_s3_agent

Methods included from Eaglenube::AWSCredentialBuilder

#build_credential

Instance Method Details

#describe_internet_gateways(credential, region_code) ⇒ Object



11
12
13
14
# File 'lib/eaglenube/api_wrapper/aws/internet_gateway.rb', line 11

def describe_internet_gateways(credential, region_code)
  agent = Eaglenube::AWSAgent.get_compute_agent(credential, region_code)
  agent.describe_internet_gateways.try(:internet_gateways)
end