Class: Connectors::SyncStatus

Inherits:
Object
  • Object
show all
Defined in:
lib/connectors/sync_status.rb

Constant Summary collapse

PENDING =
'pending'
IN_PROGRESS =
'in_progress'
CANCELING =
'canceling'
CANCELED =
'canceled'
SUSPENDED =
'suspended'
COMPLETED =
'completed'
ERROR =
'error'
STATUSES =
[
  PENDING,
  IN_PROGRESS,
  CANCELING,
  CANCELED,
  SUSPENDED,
  COMPLETED,
  ERROR
]
PENDING_STATUSES =
[
  PENDING,
  SUSPENDED
]
ACTIVE_STATUSES =
[
  IN_PROGRESS,
  CANCELING
]
TERMINAL_STATUSES =
[
  CANCELED,
  COMPLETED,
  ERROR
]