Sha256: 2308604ba9e1efbe6bd7f57f3e72b5f862b7c179bdb3aefae2ffa0959db01e7b
Contents?: true
Size: 417 Bytes
Versions: 4
Compression:
Stored size: 417 Bytes
Contents
require 'active_support/concern' module Canmoia module Work extend ActiveSupport::Concern included do include Order extend Notification # Fields # Relations belongs_to :responsible, :class_name => "::User" # States Notifications notify :responsible, :on => [:open, :close] notify :client , :on => [:open, :accept, :reject, :cancel] end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
canmoia-0.0.4 | lib/canmoia/concerns/work.rb |
canmoia-0.0.3 | lib/canmoia/concerns/work.rb |
canmoia-0.0.2 | lib/canmoia/concerns/work.rb |
canmoia-0.0.1 | lib/canmoia/concerns/work.rb |