Class: UuidV7::Configuration
- Inherits:
-
Object
- Object
- UuidV7::Configuration
- Defined in:
- lib/uuid_v7/configuration.rb
Instance Attribute Summary collapse
-
#field_name ⇒ Object
Returns the value of attribute field_name.
-
#implicit_inclusion_strategy ⇒ Object
Returns the value of attribute implicit_inclusion_strategy.
-
#throw_invalid_uuid ⇒ Object
Returns the value of attribute throw_invalid_uuid.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_name ⇒ Object
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_strategy ⇒ Object
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_uuid ⇒ Object
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 |