Class: Workarea::Segment::Rules::Base

Inherits:
Object
  • Object
show all
Includes:
ApplicationDocument
Defined in:
app/models/workarea/segment/rules/base.rb

Class Method Summary collapse

Methods included from ApplicationDocument

#releasable?

Methods included from Sidekiq::Callbacks

assert_valid_config!, async, disable, enable, inline, #run_callbacks

Methods included from Mongoid::Document

#embedded_children

Class Method Details

.slugObject



10
11
12
# File 'app/models/workarea/segment/rules/base.rb', line 10

def self.slug
  name.demodulize.underscore.to_sym
end