Sha256: 41164884d679fbbb66d6c10b3083b1f506e2d234ffd2a686176bf4309921b6c6

Contents?: true

Size: 362 Bytes

Versions: 2

Compression:

Stored size: 362 Bytes

Contents

module DiscoApp
  module Flow
    module Concerns
      module Action
        extend ActiveSupport::Concern

        included do

          belongs_to :shop

          self.table_name = :disco_app_flow_actions

          enum status: {
            pending: 0,
            succeeded: 1,
            failed: 2
          }

        end

      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
disco_app-0.16.1.pre.sidekiq.pre.6.pre.release app/models/disco_app/flow/concerns/action.rb
disco_app-0.16.1 app/models/disco_app/flow/concerns/action.rb