Class: CloudSpec::AMZN::Instances
- Defined in:
- lib/cloudspec/amzn/instances.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/instances.rb', line 15 def evaluate_object(account_name, region, object) CloudSpec.log.debug "Evaluating object #{object.id} ..." begin evaluate(object) rescue RSpec::Expectations::ExpectationNotMetError => e CloudSpec.log.error "[#{account_name}][#{region}][#{object.id}] - " + e.to_s end end |