module RestAPIBuilder::Helpers::UrlHelper

Public Instance Methods

full_url(url, path) click to toggle source
# File lib/rest_api_builder/helpers/url_helper.rb, line 6
def full_url(url, path)
  if path
    File.join(url, path)
  else
    url
  end
end