Class: CloudSpec::AMZN::SecurityGroups
- Defined in:
- lib/cloudspec/amzn/security_groups.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
#compute_client, #harvest, #initialize, #load_rules, #mock?, #process_account, #regions
Constructor Details
This class inherits a constructor from CloudSpec::AMZN::Base
Class Method Details
Instance Method Details
#evaluate_object(account_name, region, object) ⇒ Object
15 16 17 18 19 20 21 22 |
# File 'lib/cloudspec/amzn/security_groups.rb', line 15 def evaluate_object(account_name, region, object) CloudSpec.log.debug "Evaluating object #{object.group_id} ..." begin evaluate(object) rescue RSpec::Expectations::ExpectationNotMetError => e CloudSpec.log.error "[#{account_name}][#{region}][#{object.group_id}] - " + e.to_s end end |