Class: UuidV7::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/uuid_v7/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



7
8
9
10
11
# File 'lib/uuid_v7/configuration.rb', line 7

def initialize
  self.field_name = :id
  self.implicit_inclusion_strategy = true
  self.throw_invalid_uuid = true
end

Instance Attribute Details

#field_nameObject

Returns the value of attribute field_name.



5
6
7
# File 'lib/uuid_v7/configuration.rb', line 5

def field_name
  @field_name
end

#implicit_inclusion_strategyObject

Returns the value of attribute implicit_inclusion_strategy.



5
6
7
# File 'lib/uuid_v7/configuration.rb', line 5

def implicit_inclusion_strategy
  @implicit_inclusion_strategy
end

#throw_invalid_uuidObject

Returns the value of attribute throw_invalid_uuid.



5
6
7
# File 'lib/uuid_v7/configuration.rb', line 5

def throw_invalid_uuid
  @throw_invalid_uuid
end