Class: Torikago::Checker::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/torikago/checker.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#errorsObject

Returns the value of attribute errors

Returns:

  • (Object)

    the current value of errors



9
10
11
# File 'lib/torikago/checker.rb', line 9

def errors
  @errors
end

#gateway_call_countObject

Returns the value of attribute gateway_call_count

Returns:

  • (Object)

    the current value of gateway_call_count



9
10
11
# File 'lib/torikago/checker.rb', line 9

def gateway_call_count
  @gateway_call_count
end

#manifest_countObject

Returns the value of attribute manifest_count

Returns:

  • (Object)

    the current value of manifest_count



9
10
11
# File 'lib/torikago/checker.rb', line 9

def manifest_count
  @manifest_count
end

#scanned_file_countObject

Returns the value of attribute scanned_file_count

Returns:

  • (Object)

    the current value of scanned_file_count



9
10
11
# File 'lib/torikago/checker.rb', line 9

def scanned_file_count
  @scanned_file_count
end

Instance Method Details

#ok?Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/torikago/checker.rb', line 16

def ok?
  errors.empty?
end