Class: DirtyUrl::DefaultUrlOptions
- Inherits:
-
Object
- Object
- DirtyUrl::DefaultUrlOptions
- Defined in:
- lib/dirty_url/default_url_options.rb
Class Method Summary collapse
Class Method Details
.fetch ⇒ Object
7 8 9 10 11 12 |
# File 'lib/dirty_url/default_url_options.rb', line 7 def self.fetch return Chamber.dig!(:http, :url_components).symbolize_keys if defined?(Chamber) settings_file = application.root.join('config', 'dirty_url.yml') YAML.safe_load(File.read(settings_file)).symbolize_keys end |