Class: Ant::Configuration::Autoconfigs::Aws

Inherits:
ServiceManager show all
Defined in:
lib/ant/configs/autoconfigs/aws.rb,
lib/ant/configs/autoconfigs/aws/s3.rb,
lib/ant/configs/autoconfigs/aws/sqs.rb

Defined Under Namespace

Classes: S3, Sqs

Instance Attribute Summary

Attributes inherited from ServiceManager

#configs

Class Method Summary collapse

Methods inherited from ServiceManager

#all_services, auto_load!, #build_service, #configure!, #features, #initialize, #load_service!, register_plugin, #services

Constructor Details

This class inherits a constructor from Ant::Configuration::ServiceManager

Class Method Details

.from_config(config) ⇒ Object



7
8
9
10
11
# File 'lib/ant/configs/autoconfigs/aws.rb', line 7

def self.from_config(config)
  aws = new(config, 'aws/')
  aws.configure!
  aws.all_services
end