Class: AbrtProxy::HostReport::AggregatedReport
- Inherits:
-
Object
- Object
- AbrtProxy::HostReport::AggregatedReport
- Defined in:
- lib/smart_proxy_abrt/abrt_lib.rb
Instance Attribute Summary collapse
-
#count ⇒ Object
Returns the value of attribute count.
-
#hash ⇒ Object
Returns the value of attribute hash.
-
#report ⇒ Object
Returns the value of attribute report.
-
#reported_at ⇒ Object
Returns the value of attribute reported_at.
Instance Method Summary collapse
-
#initialize(report, count, hash, reported_at) ⇒ AggregatedReport
constructor
A new instance of AggregatedReport.
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
#count ⇒ Object
Returns the value of attribute count.
98 99 100 |
# File 'lib/smart_proxy_abrt/abrt_lib.rb', line 98 def count @count end |
#hash ⇒ Object
Returns the value of attribute hash.
98 99 100 |
# File 'lib/smart_proxy_abrt/abrt_lib.rb', line 98 def hash @hash end |
#report ⇒ Object
Returns the value of attribute report.
98 99 100 |
# File 'lib/smart_proxy_abrt/abrt_lib.rb', line 98 def report @report end |
#reported_at ⇒ Object
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 |