Class: Services::Publisher
- Inherits:
-
Object
- Object
- Services::Publisher
- Defined in:
- lib/busbar_cli/services/publisher.rb
Class Method Summary collapse
Class Method Details
.call(environment) ⇒ Object
3 4 5 6 7 8 9 10 11 12 |
# File 'lib/busbar_cli/services/publisher.rb', line 3 def self.call(environment) Printer.print_result( result: EnvironmentsRepository.publish( environment: environment ), success_message: 'Environment scheduled for publishing', failure_message: 'Error while publishing the environment. ' \ 'Please check its existence (and of its app)' ) end |