Sha256: 50d3ee62164f45fd69fa32c96adc816d32731781fd4f3bf92babe79229ac438c

Contents?: true

Size: 323 Bytes

Versions: 12

Compression:

Stored size: 323 Bytes

Contents

# A container to register applications
class MissionControl::Jobs::Applications < MissionControl::Jobs::IdentifiedElements
  def add(name, queue_adapters_by_name = {})
    self << MissionControl::Jobs::Application.new(name: name).tap do |application|
      application.add_servers(queue_adapters_by_name)
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
mission_control-jobs-0.6.0 lib/mission_control/jobs/applications.rb
mission_control-jobs-0.5.0 lib/mission_control/jobs/applications.rb
mission_control-jobs-0.4.0 lib/mission_control/jobs/applications.rb
mission_control-jobs-0.3.3 lib/mission_control/jobs/applications.rb
mission_control-jobs-0.3.2 lib/mission_control/jobs/applications.rb
mission_control-jobs-0.3.1 lib/mission_control/jobs/applications.rb
mission_control-jobs-0.3.0 lib/mission_control/jobs/applications.rb
mission_control-jobs-0.2.2 lib/mission_control/jobs/applications.rb
mission_control-jobs-0.2.1 lib/mission_control/jobs/applications.rb
mission_control-jobs-0.2.0 lib/mission_control/jobs/applications.rb
mission_control-jobs-0.1.1 lib/mission_control/jobs/applications.rb
mission_control-jobs-0.1.0 lib/mission_control/jobs/applications.rb