Class: Licensure::CheckResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/licensure/types.rb

Overview

License check result aggregation.

Instance Attribute Summary collapse

Instance Attribute Details

#passed ⇒ Object

Returns the value of attribute passed

Returns:

  • (Object) —

    the current value of passed



15
16
17
# File 'lib/licensure/types.rb', line 15

def passed
  @passed
end

#violations ⇒ Object

Returns the value of attribute violations

Returns:

  • (Object) —

    the current value of violations



15
16
17
# File 'lib/licensure/types.rb', line 15

def violations
  @violations
end

#warnings ⇒ Object

Returns the value of attribute warnings

Returns:

  • (Object) —

    the current value of warnings



15
16
17
# File 'lib/licensure/types.rb', line 15

def warnings
  @warnings
end