Class: Proxy::Abrt::HostReport::AggregatedReport
- Inherits:
-
Object
- Object
- Proxy::Abrt::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.
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
#count ⇒ Object
Returns the value of attribute count.
91 92 93 |
# File 'lib/smart_proxy_abrt/abrt_lib.rb', line 91 def count @count end |
#hash ⇒ Object
Returns the value of attribute hash.
91 92 93 |
# File 'lib/smart_proxy_abrt/abrt_lib.rb', line 91 def hash @hash end |
#report ⇒ Object
Returns the value of attribute report.
91 92 93 |
# File 'lib/smart_proxy_abrt/abrt_lib.rb', line 91 def report @report end |
#reported_at ⇒ Object
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 |