Sha256: b5c44ac01840bb1fb81e3e4e7ecb9bc6fa67ae1d1f140dc06d82618cd32a3d53

Contents?: true

Size: 297 Bytes

Versions: 1

Compression:

Stored size: 297 Bytes

Contents

# frozen_string_literal: true

# This si the registrar for queue services.
module DispatchRider
  module Registrars
    class QueueService < Base
      def value(name, options = {})
        "DispatchRider::QueueServices::#{name.to_s.camelize}".constantize.new(options)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dispatch-rider-2.2.0 lib/dispatch-rider/registrars/queue_service.rb