Class: Carriage::Url
- Inherits:
-
Object
- Object
- Carriage::Url
- Defined in:
- lib/carriage/url.rb
Class Method Summary collapse
Class Method Details
.call(locale, params) ⇒ Object
7 8 9 |
# File 'lib/carriage/url.rb', line 7 def self.call(locale, params) "#{Locale.new(locale).host}?#{URI.encode_www_form params}" end |