Class: ActiveUxid::Configuration
- Inherits:
-
Object
- Object
- ActiveUxid::Configuration
- Defined in:
- lib/active_uxid/configuration.rb
Instance Attribute Summary collapse
-
#encoding_chars ⇒ Object
Returns the value of attribute encoding_chars.
-
#encoding_length ⇒ Object
Returns the value of attribute encoding_length.
-
#encoding_salt ⇒ Object
Returns the value of attribute encoding_salt.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 12 |
# File 'lib/active_uxid/configuration.rb', line 8 def initialize @encoding_chars = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' @encoding_length = 26 @encoding_salt = 1_369_136 end |
Instance Attribute Details
#encoding_chars ⇒ Object
Returns the value of attribute encoding_chars.
6 7 8 |
# File 'lib/active_uxid/configuration.rb', line 6 def encoding_chars @encoding_chars end |
#encoding_length ⇒ Object
Returns the value of attribute encoding_length.
6 7 8 |
# File 'lib/active_uxid/configuration.rb', line 6 def encoding_length @encoding_length end |
#encoding_salt ⇒ Object
Returns the value of attribute encoding_salt.
6 7 8 |
# File 'lib/active_uxid/configuration.rb', line 6 def encoding_salt @encoding_salt end |