Sha256: 0c174e86199dcea2506ca006cc615fc026013b0317a4a0cbfa34d30abe726e59

Contents?: true

Size: 497 Bytes

Versions: 5

Compression:

Stored size: 497 Bytes

Contents

module JenkinsJob
  module Common
    class BuildTimeout < BasicObject
      attr_reader :type_, :timeout_, :elastic_percentage_, :elastic_default_timeout_

      def initialize(type)
        @type_ = type
      end

      def timeout(value)
        @timeout_ = value
      end

      def elastic_percentage(value)
        @elastic_percentage_ = value
      end

      def elastic_default_timeout(value)
        @elastic_default_timeout_ = value
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rubyjobbuilderdsl-0.0.5 lib/rubyjobbuilderdsl/common/build_timeout.rb
rubyjobbuilderdsl-0.0.3 lib/rubyjobbuilderdsl/common/build_timeout.rb
rubyjobbuilderdsl-0.0.2 lib/rubyjobbuilderdsl/common/build_timeout.rb
rubyjobbuilderdsl-0.0.1 lib/rubyjobbuilderdsl/common/build_timeout.rb
rubyjobbuilderdsl-0.0.0 lib/rubyjobbuilderdsl/common/build_timeout.rb