Method: Bumbleworks::Entity::ClassMethods#process

Defined in:
lib/bumbleworks/entity.rb

#process(process_name, options = {}) ⇒ Object



97
98
99
100
# File 'lib/bumbleworks/entity.rb', line 97

def process(process_name, options = {})
  options[:attribute] ||= default_process_identifier_attribute(process_name)
  processes[process_name.to_sym] = options
end