Class: Suma::LinkValidation::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/suma/link_validation.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#adoc_countObject

Returns the value of attribute adoc_count

Returns:

  • (Object)

    the current value of adoc_count



79
80
81
# File 'lib/suma/link_validation.rb', line 79

def adoc_count
  @adoc_count
end

#exp_countObject

Returns the value of attribute exp_count

Returns:

  • (Object)

    the current value of exp_count



79
80
81
# File 'lib/suma/link_validation.rb', line 79

def exp_count
  @exp_count
end

Returns the value of attribute total_links

Returns:

  • (Object)

    the current value of total_links



79
80
81
# File 'lib/suma/link_validation.rb', line 79

def total_links
  @total_links
end

#unresolvedObject

Returns the value of attribute unresolved

Returns:

  • (Object)

    the current value of unresolved



79
80
81
# File 'lib/suma/link_validation.rb', line 79

def unresolved
  @unresolved
end

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


86
87
88
# File 'lib/suma/link_validation.rb', line 86

def success?
  unresolved.empty?
end