Class: DynamicLinks::Configuration
- Inherits:
-
Object
- Object
- DynamicLinks::Configuration
- Defined in:
- lib/dynamic_links/configuration.rb
Instance Attribute Summary collapse
-
#shortening_strategy ⇒ Object
Returns the value of attribute shortening_strategy.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 |
# File 'lib/dynamic_links/configuration.rb', line 5 def initialize @shortening_strategy = :MD5 # Default strategy end |
Instance Attribute Details
#shortening_strategy ⇒ Object
Returns the value of attribute shortening_strategy.
3 4 5 |
# File 'lib/dynamic_links/configuration.rb', line 3 def shortening_strategy @shortening_strategy end |