Sha256: 8b8359aeadaf0475bf091d387ef2759fc8d65269f3dc9c71fa7075916636af5e

Contents?: true

Size: 399 Bytes

Versions: 8

Compression:

Stored size: 399 Bytes

Contents

# frozen_string_literal: true

# BulkAction Statesman
class BulkActionStateMachine
  include Statesman::Machine

  state :created, initial: true
  state :queued
  state :complete
  state :failed
  state :reverted

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

Version data entries

8 entries across 8 versions & 1 rubygems

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