Class: ProfileLoader
Constant Summary collapse
- RESERVED_ROLE_NAMES =
%w(roles lanes name zones aliases settings security_rules)
Instance Method Summary collapse
-
#initialize(config) ⇒ ProfileLoader
constructor
A new instance of ProfileLoader.
- #load ⇒ Object
Constructor Details
#initialize(config) ⇒ ProfileLoader
Returns a new instance of ProfileLoader.
4 5 6 |
# File 'lib/maws/profile_loader.rb', line 4 def initialize(config) @config = config end |
Instance Method Details
#load ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/maws/profile_loader.rb', line 8 def load # assumes profile file is known to exist already load_profile load_roles load_security_rules exit_on_missing_roles create_combined end |