Class: DynamicLinks::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_strategyObject

Returns the value of attribute shortening_strategy.



3
4
5
# File 'lib/dynamic_links/configuration.rb', line 3

def shortening_strategy
  @shortening_strategy
end