Class: SourceMonitor::Fetching::Completion::RetentionHandler::Result
- Inherits:
-
Struct
- Object
- Struct
- SourceMonitor::Fetching::Completion::RetentionHandler::Result
- Defined in:
- lib/source_monitor/fetching/completion/retention_handler.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
-
#removed_total ⇒ Object
Returns the value of attribute removed_total.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error
8 9 10 |
# File 'lib/source_monitor/fetching/completion/retention_handler.rb', line 8 def error @error end |
#removed_total ⇒ Object
Returns the value of attribute removed_total
8 9 10 |
# File 'lib/source_monitor/fetching/completion/retention_handler.rb', line 8 def removed_total @removed_total end |
#status ⇒ Object
Returns the value of attribute status
8 9 10 |
# File 'lib/source_monitor/fetching/completion/retention_handler.rb', line 8 def status @status end |
Instance Method Details
#success? ⇒ Boolean
9 10 11 |
# File 'lib/source_monitor/fetching/completion/retention_handler.rb', line 9 def success? status != :failed end |