class KalibroClient::Entities::Processor::HotspotMetricResult
Attributes
line_number[RW]
message[RW]
Public Class Methods
new(attributes={}, persisted=false)
click to toggle source
# File lib/kalibro_client/entities/processor/hotspot_metric_result.rb, line 24 def initialize(attributes={}, persisted=false) @line_number = attributes["line_number"].to_i attributes.each do |field, value| if field != "line_number" and self.class.valid?(field) send("#{field}=", value) end end @persisted = persisted end