Module: Excom::Plugins::FailureCause
- Defined in:
- lib/excom/plugins/failure_cause.rb
Class Method Summary collapse
Class Method Details
.used(service_class, cause_method_name:) ⇒ Object
6 7 8 9 |
# File 'lib/excom/plugins/failure_cause.rb', line 6 def self.used(service_class, cause_method_name:) service_class.add_execution_prop(:cause) service_class.send(:define_method, cause_method_name) { state.cause } end |