Module: Avm::Instances::Base::AutoValues::Web

Defined in:
lib/avm/instances/base/auto_values/web.rb

Instance Method Summary collapse

Instance Method Details

#auto_web_hostnameObject



10
11
12
13
14
# File 'lib/avm/instances/base/auto_values/web.rb', line 10

def auto_web_hostname
  read_entry_optional('web.url').if_present do |v|
    ::Addressable::URI.parse(v).host
  end
end