Module: Eco::API::Session::Batch::Launcher::Retry
- Included in:
- Eco::API::Session::Batch::Launcher
- Defined in:
- lib/eco/api/session/batch/launcher/retry.rb
Constant Summary collapse
- ALLOWED_RETRIES =
3 times (including first launch)
2
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/eco/api/session/batch/launcher/retry.rb', line 9 def self.included(base) unless base <= Eco::API::Session::Batch::Launcher msg = 'To be included only in Eco::API::Common::Session::BaseSession. ' msg << "Tried on '#{base}'" raise msg end super end |