Module: RailsWorkflow::Uuid

Extended by:
ActiveSupport::Concern
Included in:
OperationTemplate, ProcessTemplate
Defined in:
app/concerns/rails_workflow/uuid.rb

Instance Method Summary collapse

Instance Method Details

#generate_guidObject



8
9
10
11
12
13
# File 'app/concerns/rails_workflow/uuid.rb', line 8

def generate_guid
  if uuid.blank?
    self.uuid = Guid.new.to_s
  end

end