Sha256: b960163518bb61b1359a05294e40c6b6543dc4601414c5b4e8bc86f835582b53

Contents?: true

Size: 775 Bytes

Versions: 5

Compression:

Stored size: 775 Bytes

Contents

module KnapsackPro
  module Client
    module API
      module V1
        class BuildSubsets < Base
          class << self
            def create(commit_hash:,
                       branch:,
                       node_total:,
                       node_index:,
                       test_files:)
              action_class.new(
                endpoint_path: '/v1/build_subsets',
                http_method: :post,
                request_hash: {
                  :commit_hash => commit_hash,
                  :branch => branch,
                  :node_total => node_total,
                  :node_index => node_index,
                  :test_files => test_files
                }
              )
            end
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
knapsack_pro-0.2.1 lib/knapsack_pro/client/api/v1/build_subsets.rb
knapsack_pro-0.2.0 lib/knapsack_pro/client/api/v1/build_subsets.rb
knapsack_pro-0.1.2 lib/knapsack_pro/client/api/v1/build_subsets.rb
knapsack_pro-0.1.1 lib/knapsack_pro/client/api/v1/build_subsets.rb
knapsack_pro-0.1.0 lib/knapsack_pro/client/api/v1/build_subsets.rb