Sha256: 18f18b67693d84fe80f6590d88c6a37568673963c59ad42e2dcff2f1a6a1eb2c
Contents?: true
Size: 1.24 KB
Versions: 42
Compression:
Stored size: 1.24 KB
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 def last(args) action_class.new( endpoint_path: '/v1/build_distributions/last', http_method: :get, request_hash: { :commit_hash => args.fetch(:commit_hash), :branch => args.fetch(:branch), :node_total => args.fetch(:node_total), :node_index => args.fetch(:node_index), } ) end end end end end end end
Version data entries
42 entries across 42 versions & 1 rubygems