class Eaternet::Prototype::InspectionData
Attributes
business_orig_key[R]
@return [String]
date[R]
@return [String]
demerits[R]
@return [String]
orig_key[R]
@return [String]
score[R]
@return [String]
violations[R]
@return [String]
Public Class Methods
new(orig_key:, business_orig_key:, score:, date:, demerits: nil, violations: [])
click to toggle source
# File lib/eaternet/prototype.rb, line 66 def initialize(orig_key:, business_orig_key:, score:, date:, demerits: nil, violations: []) @orig_key = orig_key @business_orig_key = business_orig_key @score = score @date = date @demerits = demerits @violations = violations end
Public Instance Methods
to_s()
click to toggle source
# File lib/eaternet/prototype.rb, line 75 def to_s "Inspection #{@orig_key}" end