Sha256: 9849c5888b056e9e832a9ac32b8618c08c59ee8400e1c0844db30de66e5e4823

Contents?: true

Size: 276 Bytes

Versions: 4

Compression:

Stored size: 276 Bytes

Contents

module QPush
  module Web
    module Apis
      class Create
        def initialize(params)
          @klass = params[:klass]
          @args = params[:args]
        end

        def call
          QPush.job(klass: @klass, args: @args)
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
qpush-0.1.10 lib/qpush/web/apis/create.rb
qpush-0.1.8 lib/qpush/web/apis/create.rb
qpush-0.1.7 lib/qpush/web/apis/create.rb
qpush-0.1.6 lib/qpush/web/apis/create.rb