Module: Sequel::Plugins::Uuid::ClassMethods

Defined in:
lib/sequel/plugins/uuid.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#uuid_fieldObject (readonly)

The field to store the uuid



36
37
38
# File 'lib/sequel/plugins/uuid.rb', line 36

def uuid_field
  @uuid_field
end

Instance Method Details

#uuid_overwrite?Boolean

Whether to overwrite the create uuid if it already exists

Returns:

  • (Boolean)


39
40
41
# File 'lib/sequel/plugins/uuid.rb', line 39

def uuid_overwrite?
  @uuid_overwrite
end