Sha256: 030ba46434968b2ff8bd16cd82c6331b305fe1417b873f7e89d7c44147c7354b

Contents?: true

Size: 723 Bytes

Versions: 23

Compression:

Stored size: 723 Bytes

Contents

# frozen_string_literal: true

module KnapsackPro
  module Client
    module API
      module V1
        class BuildSubsets < Base
          class << self
            def create(args)
              action_class.new(
                endpoint_path: '/v1/build_subsets',
                http_method: :post,
                request_hash: {
                  :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

23 entries across 23 versions & 1 rubygems

Version Path
knapsack_pro-7.13.0 lib/knapsack_pro/client/api/v1/build_subsets.rb
knapsack_pro-7.12.1 lib/knapsack_pro/client/api/v1/build_subsets.rb
knapsack_pro-7.12.0 lib/knapsack_pro/client/api/v1/build_subsets.rb
knapsack_pro-7.11.0 lib/knapsack_pro/client/api/v1/build_subsets.rb
knapsack_pro-7.10.0 lib/knapsack_pro/client/api/v1/build_subsets.rb
knapsack_pro-7.9.0 lib/knapsack_pro/client/api/v1/build_subsets.rb
knapsack_pro-7.8.2 lib/knapsack_pro/client/api/v1/build_subsets.rb
knapsack_pro-7.8.1 lib/knapsack_pro/client/api/v1/build_subsets.rb
knapsack_pro-7.8.0 lib/knapsack_pro/client/api/v1/build_subsets.rb
knapsack_pro-7.7.0 lib/knapsack_pro/client/api/v1/build_subsets.rb
knapsack_pro-7.6.2 lib/knapsack_pro/client/api/v1/build_subsets.rb
knapsack_pro-7.6.1 lib/knapsack_pro/client/api/v1/build_subsets.rb
knapsack_pro-7.6.0 lib/knapsack_pro/client/api/v1/build_subsets.rb
knapsack_pro-7.1.0 lib/knapsack_pro/client/api/v1/build_subsets.rb
knapsack_pro-7.0.1 lib/knapsack_pro/client/api/v1/build_subsets.rb
knapsack_pro-7.0.0 lib/knapsack_pro/client/api/v1/build_subsets.rb
knapsack_pro-6.0.4 lib/knapsack_pro/client/api/v1/build_subsets.rb
knapsack_pro-6.0.3 lib/knapsack_pro/client/api/v1/build_subsets.rb
knapsack_pro-6.0.2 lib/knapsack_pro/client/api/v1/build_subsets.rb
knapsack_pro-6.0.1 lib/knapsack_pro/client/api/v1/build_subsets.rb