Class: AbrtProxy::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.



99
100
101
102
103
104
# File 'lib/smart_proxy_abrt/abrt_lib.rb', line 99

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.



98
99
100
# File 'lib/smart_proxy_abrt/abrt_lib.rb', line 98

def count
  @count
end

#hashObject

Returns the value of attribute hash.



98
99
100
# File 'lib/smart_proxy_abrt/abrt_lib.rb', line 98

def hash
  @hash
end

#reportObject

Returns the value of attribute report.



98
99
100
# File 'lib/smart_proxy_abrt/abrt_lib.rb', line 98

def report
  @report
end

#reported_atObject

Returns the value of attribute reported_at.



98
99
100
# File 'lib/smart_proxy_abrt/abrt_lib.rb', line 98

def reported_at
  @reported_at
end