Method: Appfuel::WebApi::HttpModel#url
- Defined in:
- lib/appfuel/storage/web_api/http_model.rb
#url(path) ⇒ Object
40 41 42 43 44 45 46 |
# File 'lib/appfuel/storage/web_api/http_model.rb', line 40 def url(path) if path.start_with?("/") path.slice!(0) end uri.to_s + "#{path}" end |