Class: RefreshFeedJobState

Inherits:
ApplicationRecord show all
Defined in:
app/models/refresh_feed_job_state.rb

Overview

RefreshFeedJobState model. Each instance of this class represents an ocurrence of a user manually requesting a refresh of a feed

Each RefreshFeedJobState belongs to a single user, and each user can have many RefreshFeedJobStates (one-to-many relationship). Each RefreshFeedJobState belongs to a single feed, and each feed can have many RefreshFeedJobStates (one-to-many relationship).

The RefreshFeedJobState model has the following fields:

  • state: mandatory text that indicates the current state of the import process. Supported values are

“RUNNING” (the default), “SUCCESS” and “ERROR”.

Constant Summary collapse

RUNNING =

Class constants for the possible states

'RUNNING'
ERROR =
'ERROR'
SUCCESS =
'SUCCESS'