Sha256: 927fcfac3f31a92a79cece4554bf3fc42e4f5bf8e89cdf778f9a258eefe37b3d

Contents?: true

Size: 316 Bytes

Versions: 1

Compression:

Stored size: 316 Bytes

Contents

# frozen_string_literal: true

# Import Distribution Statesman
class ImportDistributionStateMachine
  include Statesman::Machine

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
geoblacklight_admin-0.7.0 app/models/import_distribution_state_machine.rb