Sha256: 906945cd0597ddde8c0662a2e7ce0b1854d06444f67b070ba5db666a1d411232
Contents?: true
Size: 467 Bytes
Versions: 2
Compression:
Stored size: 467 Bytes
Contents
module DiscoApp module Flow module Concerns module Trigger extend ActiveSupport::Concern included do belongs_to :shop self.table_name = :disco_app_flow_triggers enum status: { pending: 0, succeeded: 1, failed: 2 } def properties read_attribute(:properties).with_indifferent_access end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
disco_app-0.17.0 | app/models/disco_app/flow/concerns/trigger.rb |
disco_app-0.18.0 | app/models/disco_app/flow/concerns/trigger.rb |