Sha256: c95ced3bbc58ca8bcb632143bd45cdd634c55c670efb39ffebd08c4b32204622

Contents?: true

Size: 325 Bytes

Versions: 4

Compression:

Stored size: 325 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 failed]
  transition from: :queued, to: %i[success failed]
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
geoblacklight_admin-0.6.0 app/models/bulk_action_document_state_machine.rb
geoblacklight_admin-0.5.1 app/models/bulk_action_document_state_machine.rb
geoblacklight_admin-0.5.0 app/models/bulk_action_document_state_machine.rb
geoblacklight_admin-0.4.2 app/models/bulk_action_document_state_machine.rb