Module: SMARTAppLaunch::URLHelpers
- Included in:
- CORSMetadataRequest, CORSWellKnownEndpointTest, WellKnownEndpointTest
- Defined in:
- lib/smart_app_launch/url_helpers.rb
Instance Method Summary collapse
Instance Method Details
#make_url_absolute(base_url, endpoint) ⇒ Object
3 4 5 |
# File 'lib/smart_app_launch/url_helpers.rb', line 3 def make_url_absolute(base_url, endpoint) endpoint ? URI.join(base_url, endpoint).to_s : endpoint end |