module ServiceActor::Failable::ClassMethods
Public Instance Methods
fail_on(*exceptions)
click to toggle source
# File lib/service_actor/failable.rb, line 23 def fail_on(*exceptions) fail_ons.push(*exceptions) end
fail_ons()
click to toggle source
# File lib/service_actor/failable.rb, line 27 def fail_ons @fail_ons ||= [] end
inherited(child)
click to toggle source
Calls superclass method
# File lib/service_actor/failable.rb, line 17 def inherited(child) super child.fail_ons.push(*fail_ons) end