Class: Licensure::Violation

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

Overview

Violation or warning entry with reason.

Instance Attribute Summary collapse

Instance Attribute Details

#gem_info ⇒ Object

Returns the value of attribute gem_info

Returns:

  • (Object) —

    the current value of gem_info



23
24
25
# File 'lib/licensure/types.rb', line 23

def gem_info
  @gem_info
end

#reason ⇒ Object

Returns the value of attribute reason

Returns:

  • (Object) —

    the current value of reason



23
24
25
# File 'lib/licensure/types.rb', line 23

def reason
  @reason
end