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



33
34
35
# File 'lib/sequel/plugins/uuid.rb', line 33

def uuid_field
  @uuid_field
end

Instance Method Details

#uuid_overwrite?Boolean

Whether to overwrite the create uuid if it already exists

Returns:

  • (Boolean)


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

def uuid_overwrite?
  @uuid_overwrite
end