Class: SourceMonitor::Fetching::Completion::FollowUpHandler::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/source_monitor/fetching/completion/follow_up_handler.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#enqueued_countObject

Returns the value of attribute enqueued_count

Returns:

  • (Object)

    the current value of enqueued_count



8
9
10
# File 'lib/source_monitor/fetching/completion/follow_up_handler.rb', line 8

def enqueued_count
  @enqueued_count
end

#errorsObject

Returns the value of attribute errors

Returns:

  • (Object)

    the current value of errors



8
9
10
# File 'lib/source_monitor/fetching/completion/follow_up_handler.rb', line 8

def errors
  @errors
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



8
9
10
# File 'lib/source_monitor/fetching/completion/follow_up_handler.rb', line 8

def status
  @status
end

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/source_monitor/fetching/completion/follow_up_handler.rb', line 9

def success?
  status != :failed
end