Module: RestfulClientUri
- Defined in:
- lib/restful_client_uri.rb
Class Method Summary collapse
-
.uri_join(url, path) ⇒ Object
This is totally wierd, but File.join just does what you need while URI.join as much too strict.
Class Method Details
.uri_join(url, path) ⇒ Object
This is totally wierd, but File.join just does what you need while URI.join as much too strict.
7 8 9 |
# File 'lib/restful_client_uri.rb', line 7 def uri_join(url, path) File.join(url, path).to_s end |