Module: OnContainer::Common::SafePerformable
- Included in:
- Secrets::EnvLoader, Secrets::GoogleCloud::ServiceBase, Secrets::MountedFiles::EnvLoader, Secrets::UrlVariableProcessor
- Defined in:
- lib/on_container/common/safe_performable.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
8 9 10 11 |
# File 'lib/on_container/common/safe_performable.rb', line 8 def self.included(base) base.include OnContainer::Common::Performable base.extend ClassMethods end |
Instance Method Details
#perform(*args, **kargs) ⇒ Object
13 14 15 16 17 |
# File 'lib/on_container/common/safe_performable.rb', line 13 def perform(*args, **kargs) perform!(*args, **kargs) rescue false end |