class Eaternet::Prototype::ViolationKindData
Attributes
code[R]
@return [String]
demerits[R]
@return [String]
description[R]
@return [String]
orig_key[R]
@return [String]
Public Class Methods
new(orig_key:, code:, demerits:, description:)
click to toggle source
# File lib/eaternet/prototype.rb, line 101 def initialize(orig_key:, code:, demerits:, description:) @orig_key = orig_key @code = code @demerits = demerits @description = description end
Public Instance Methods
to_s()
click to toggle source
# File lib/eaternet/prototype.rb, line 108 def to_s "ViolationKind #{@orig_key}" end