Sha256: 2f80b54adffd49bca1cc727fba3e972f1829600c1d6e5c81fe235acf79808715

Contents?: true

Size: 925 Bytes

Versions: 49

Compression:

Stored size: 925 Bytes

Contents

module KnapsackPro
  module Client
    module API
      module V1
        class Queues < Base
          class << self
            def queue(args)
              action_class.new(
                endpoint_path: '/v1/queues/queue',
                http_method: :post,
                request_hash: {
                  :fixed_queue_split => KnapsackPro::Config::Env.fixed_queue_split,
                  :can_initialize_queue => args.fetch(:can_initialize_queue),
                  :commit_hash => args.fetch(:commit_hash),
                  :branch => args.fetch(:branch),
                  :node_total => args.fetch(:node_total),
                  :node_index => args.fetch(:node_index),
                  :node_build_id => KnapsackPro::Config::Env.ci_node_build_id,
                  :test_files => args.fetch(:test_files)
                }
              )
            end
          end
        end
      end
    end
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
knapsack_pro-1.8.0 lib/knapsack_pro/client/api/v1/queues.rb
knapsack_pro-1.7.0 lib/knapsack_pro/client/api/v1/queues.rb
knapsack_pro-1.6.0 lib/knapsack_pro/client/api/v1/queues.rb
knapsack_pro-1.5.0 lib/knapsack_pro/client/api/v1/queues.rb
knapsack_pro-1.4.0 lib/knapsack_pro/client/api/v1/queues.rb
knapsack_pro-1.3.0 lib/knapsack_pro/client/api/v1/queues.rb
knapsack_pro-1.2.1 lib/knapsack_pro/client/api/v1/queues.rb
knapsack_pro-1.2.0 lib/knapsack_pro/client/api/v1/queues.rb
knapsack_pro-1.1.0 lib/knapsack_pro/client/api/v1/queues.rb
knapsack_pro-1.0.2 lib/knapsack_pro/client/api/v1/queues.rb
knapsack_pro-1.0.1 lib/knapsack_pro/client/api/v1/queues.rb
knapsack_pro-1.0.0 lib/knapsack_pro/client/api/v1/queues.rb
knapsack_pro-0.57.0 lib/knapsack_pro/client/api/v1/queues.rb
knapsack_pro-0.56.0 lib/knapsack_pro/client/api/v1/queues.rb
knapsack_pro-0.55.2 lib/knapsack_pro/client/api/v1/queues.rb
knapsack_pro-0.55.1 lib/knapsack_pro/client/api/v1/queues.rb
knapsack_pro-0.55.0 lib/knapsack_pro/client/api/v1/queues.rb
knapsack_pro-0.54.0 lib/knapsack_pro/client/api/v1/queues.rb
knapsack_pro-0.53.0 lib/knapsack_pro/client/api/v1/queues.rb
knapsack_pro-0.52.0 lib/knapsack_pro/client/api/v1/queues.rb