Class: Pulsar::AddApplications
- Inherits:
-
Object
- Object
- Pulsar::AddApplications
- Includes:
- Interactor, Validator
- Defined in:
- lib/pulsar/interactors/add_applications.rb
Instance Method Summary collapse
Methods included from Validator
#context_fail!, included, #validable_properties, #validate_context!
Instance Method Details
#call ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/pulsar/interactors/add_applications.rb', line 10 def call each_application_path do |app| context.applications[File.basename(app)] = stages_for(app) end rescue context_fail! $!. end |