Method: KSConnect::Helpers#autossl_verification_path_and_key_for

Defined in:
lib/ksconnect/helpers.rb

#autossl_verification_path_and_key_for(domain_name) ⇒ Object



53
54
55
56
57
58
59
60
# File 'lib/ksconnect/helpers.rb', line 53

def autossl_verification_path_and_key_for(domain_name)
  d = plugins[:autossl].domains[domain_name].try(:private_data)
  if d
    return d['verify_endpoint'], d['verify_content']
  else
    return nil, nil
  end
end