Class: UrlNormalizer::NewYorkTimes

Inherits:
UrlNormalizer show all
Defined in:
lib/url_normalizer/new_york_times.rb

Constant Summary

Constants inherited from UrlNormalizer

VERSION

Instance Method Summary collapse

Methods inherited from UrlNormalizer

#build_query, #clean_query, #encode_component, #initialize, #normalize, normalize, normalize_for

Constructor Details

This class inherits a constructor from UrlNormalizer

Instance Method Details

#forbidden_uri_paramsObject



6
7
8
# File 'lib/url_normalizer/new_york_times.rb', line 6

def forbidden_uri_params
  super + [:_r]
end

#whitelisted_uri_paramsObject



10
11
12
# File 'lib/url_normalizer/new_york_times.rb', line 10

def whitelisted_uri_params
  [:pagewanted]
end