Method: Azure::Core::Configuration#default_host

Defined in:
lib/azure/core/configuration.rb

#default_host(service) ⇒ Object

Calculate the default host for a given service in the cloud.

service - One of :table, :blob, :queue, etc.

Returns a String with the hostname, including your account name.



147
148
149
# File 'lib/azure/core/configuration.rb', line 147

def default_host(service)
  "http://#{}.#{service}.core.windows.net"
end