Class: DynamicLinks::ShorteningStrategies::MockStrategy

Inherits:
BaseStrategy
  • Object
show all
Defined in:
lib/dynamic_links/shortening_strategies/mock_strategy.rb

Constant Summary

Constants inherited from BaseStrategy

BaseStrategy::BASE62_CHARS, BaseStrategy::MIN_LENGTH

Instance Method Summary collapse

Instance Method Details

#shorten(url) ⇒ Object



4
5
6
# File 'lib/dynamic_links/shortening_strategies/mock_strategy.rb', line 4

def shorten(url)
  url
end