Module: Addressabler::URIDeprecation

Defined in:
lib/addressabler/uri_deprecation.rb

Instance Method Summary collapse

Instance Method Details

#custom_tldsObject



6
7
8
9
# File 'lib/addressabler/uri_deprecation.rb', line 6

def custom_tlds
  deprecate_custom_tlds
  Addressabler.custom_tlds
end

#custom_tlds=(new_custom_tlds) ⇒ Object



11
12
13
14
# File 'lib/addressabler/uri_deprecation.rb', line 11

def custom_tlds=(new_custom_tlds)
  deprecate_custom_tlds
  Addressabler.custom_tlds = new_custom_tlds
end