Sha256: 0a6c31f0a6842ecb205f0611fc7b479e2b562a11b90d1f57b8f9e6c8c9fe6f0d

Contents?: true

Size: 805 Bytes

Versions: 85

Compression:

Stored size: 805 Bytes

Contents

module KnapsackPro
  module Client
    module API
      module V1
        class BuildDistributions < Base
          class << self
            def subset(args)
              action_class.new(
                endpoint_path: '/v1/build_distributions/subset',
                http_method: :post,
                request_hash: {
                  :fixed_test_suite_split => KnapsackPro::Config::Env.fixed_test_suite_split,
                  :commit_hash => args.fetch(:commit_hash),
                  :branch => args.fetch(:branch),
                  :node_total => args.fetch(:node_total),
                  :node_index => args.fetch(:node_index),
                  :test_files => args.fetch(:test_files)
                }
              )
            end
          end
        end
      end
    end
  end
end

Version data entries

85 entries across 85 versions & 1 rubygems

Version Path
knapsack_pro-1.20.2 lib/knapsack_pro/client/api/v1/build_distributions.rb
knapsack_pro-1.20.1 lib/knapsack_pro/client/api/v1/build_distributions.rb
knapsack_pro-1.20.0 lib/knapsack_pro/client/api/v1/build_distributions.rb
knapsack_pro-1.19.0 lib/knapsack_pro/client/api/v1/build_distributions.rb
knapsack_pro-1.18.2 lib/knapsack_pro/client/api/v1/build_distributions.rb
knapsack_pro-1.18.1 lib/knapsack_pro/client/api/v1/build_distributions.rb
knapsack_pro-1.18.0 lib/knapsack_pro/client/api/v1/build_distributions.rb
knapsack_pro-1.17.0 lib/knapsack_pro/client/api/v1/build_distributions.rb
knapsack_pro-1.16.1 lib/knapsack_pro/client/api/v1/build_distributions.rb
knapsack_pro-1.16.0 lib/knapsack_pro/client/api/v1/build_distributions.rb
knapsack_pro-1.15.0 lib/knapsack_pro/client/api/v1/build_distributions.rb
knapsack_pro-1.14.0 lib/knapsack_pro/client/api/v1/build_distributions.rb
knapsack_pro-1.13.0 lib/knapsack_pro/client/api/v1/build_distributions.rb
knapsack_pro-1.12.1 lib/knapsack_pro/client/api/v1/build_distributions.rb
knapsack_pro-1.12.0 lib/knapsack_pro/client/api/v1/build_distributions.rb
knapsack_pro-1.11.0 lib/knapsack_pro/client/api/v1/build_distributions.rb
knapsack_pro-1.10.1 lib/knapsack_pro/client/api/v1/build_distributions.rb
knapsack_pro-1.10.0 lib/knapsack_pro/client/api/v1/build_distributions.rb
knapsack_pro-1.9.0 lib/knapsack_pro/client/api/v1/build_distributions.rb
knapsack_pro-1.8.0 lib/knapsack_pro/client/api/v1/build_distributions.rb