Sha256: 7d78a33f2e9621ca7e127e3a5329ebf9684fe3d31e52600d8b95b2d284f5f486

Contents?: true

Size: 442 Bytes

Versions: 8

Compression:

Stored size: 442 Bytes

Contents

# frozen_string_literal: true

# BulkActionDocument Statesman
class BulkActionDocumentStateMachine
  include Statesman::Machine

  state :created, initial: true
  state :queued
  state :success
  state :failed

  transition from: :created, to: %i[queued success]
  transition from: :queued, to: %i[queued success failed]
  transition from: :success, to: %i[queued success failed]
  transition from: :failed, to: %i[queued success failed]
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
geoblacklight_admin-0.4.1 app/models/bulk_action_document_state_machine.rb
geoblacklight_admin-0.4.0 app/models/bulk_action_document_state_machine.rb
geoblacklight_admin-0.3.2 app/models/bulk_action_document_state_machine.rb
geoblacklight_admin-0.3.1 app/models/bulk_action_document_state_machine.rb
geoblacklight_admin-0.3.0 app/models/bulk_action_document_state_machine.rb
geoblacklight_admin-0.2.1 app/models/bulk_action_document_state_machine.rb
geoblacklight_admin-0.1.0 app/models/bulk_action_document_state_machine.rb
geoblacklight_admin-0.0.1 app/models/bulk_action_document_state_machine.rb