Sha256: eda0323a24d3b39ceb6fbfc99e892c82efb4eb53d162dd8e081ea8a97d82d918

Contents?: true

Size: 315 Bytes

Versions: 5

Compression:

Stored size: 315 Bytes

Contents

module Ridley
  class SSH
    # @author Jamie Winsor <jamie@vialstudios.com>
    class Response < Struct.new(:stdout, :stderr, :exit_code, :exit_signal)
      # Return true if the response was not successful
      #
      # @return [Boolean]
      def error?
        self.exit_code != 0
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ridley-0.5.2 lib/ridley/ssh/response.rb
ridley-0.5.1 lib/ridley/ssh/response.rb
ridley-0.5.0 lib/ridley/ssh/response.rb
ridley-0.4.1 lib/ridley/ssh/response.rb
ridley-0.4.0 lib/ridley/ssh/response.rb