Sha256: f559603e53c584e80a9cbd6ba28dfa3ae1bce70b3cf70916809b83ea372edb5a

Contents?: true

Size: 369 Bytes

Versions: 4

Compression:

Stored size: 369 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]
  transition from: :queued, to: %i[created complete failed]
  transition from: :complete, to: %i[reverted]
end

Version data entries

4 entries across 4 versions & 1 rubygems

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