module CiInACan
  class BashResult
    attr_accessor :exit_code, :output
  end
end

module CiInACan

  class BashResult

    attr_accessor :exit_code, :output

    def success
      exit_code == 0
    end

  end

end

Add a method to be able to determine if the call was successful or not.
Add a method to be able to determine if the call was successful or not.
