Module: ServiceActor::Configurable::ClassMethods
- Defined in:
- lib/service_actor/configurable.rb
Instance Attribute Summary collapse
-
#argument_error_class ⇒ Object
Returns the value of attribute argument_error_class.
-
#failure_class ⇒ Object
Returns the value of attribute failure_class.
Instance Method Summary collapse
Instance Attribute Details
#argument_error_class ⇒ Object
Returns the value of attribute argument_error_class.
32 33 34 |
# File 'lib/service_actor/configurable.rb', line 32 def argument_error_class @argument_error_class end |
#failure_class ⇒ Object
Returns the value of attribute failure_class.
32 33 34 |
# File 'lib/service_actor/configurable.rb', line 32 def failure_class @failure_class end |
Instance Method Details
#inherited(child) ⇒ Object
11 12 13 14 15 16 17 18 |
# File 'lib/service_actor/configurable.rb', line 11 def inherited(child) super child.argument_error_class = argument_error_class || ServiceActor::ArgumentError child.failure_class = failure_class || ServiceActor::Failure end |