Method: Camdram::Client#base_url

Defined in:
lib/camdram/client.rb

#base_urlString

Returns the API URL that each HTTP request is sent to

Returns:

  • (String)

    The API hostname to send requests to.



47
48
49
# File 'lib/camdram/client.rb', line 47

def base_url
  HTTP.instance.base_url
end