Sha256: 2c052bc4aeb1cbd93431a0f911fcd7fd8ff6f697eb626affcda1d725a16beabc

Contents?: true

Size: 588 Bytes

Versions: 3

Compression:

Stored size: 588 Bytes

Contents

module Runbook::Statements
  class Assert < Runbook::Statement
    attr_reader :cmd, :cmd_ssh_config, :cmd_raw
    attr_reader :interval, :timeout, :attempts
    attr_reader :timeout_statement

    def initialize(
      cmd,
      cmd_ssh_config: nil,
      cmd_raw: false,
      interval: 1,
      timeout: 0,
      attempts: 0,
      timeout_statement: nil
    )
      @cmd = cmd
      @cmd_ssh_config = cmd_ssh_config
      @cmd_raw = cmd_raw
      @interval = interval
      @timeout = timeout
      @attempts = attempts
      @timeout_statement = timeout_statement
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
runbook-0.14.0 lib/runbook/statements/assert.rb
runbook-0.13.0 lib/runbook/statements/assert.rb
runbook-0.12.1 lib/runbook/statements/assert.rb