Class: Proxy::Abrt::HostReport::AggregatedReport

Inherits:
Object
  • Object
show all
Defined in:
lib/smart_proxy_abrt/abrt_lib.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(report, count, hash, reported_at) ⇒ AggregatedReport

Returns a new instance of AggregatedReport.



92
93
94
95
96
97
# File 'lib/smart_proxy_abrt/abrt_lib.rb', line 92

def initialize(report, count, hash, reported_at)
  @report = report
  @count = count
  @hash = hash
  @reported_at = Time.parse reported_at
end

Instance Attribute Details

#countObject

Returns the value of attribute count.



91
92
93
# File 'lib/smart_proxy_abrt/abrt_lib.rb', line 91

def count
  @count
end

#hashObject

Returns the value of attribute hash.



91
92
93
# File 'lib/smart_proxy_abrt/abrt_lib.rb', line 91

def hash
  @hash
end

#reportObject

Returns the value of attribute report.



91
92
93
# File 'lib/smart_proxy_abrt/abrt_lib.rb', line 91

def report
  @report
end

#reported_atObject

Returns the value of attribute reported_at.



91
92
93
# File 'lib/smart_proxy_abrt/abrt_lib.rb', line 91

def reported_at
  @reported_at
end