Method: Vcert::TPPConnection#zone_configuration

Defined in:
lib/tpp/tpp.rb

#zone_configuration(zone_tag) ⇒ Object



49
50
51
52
53
54
55
# File 'lib/tpp/tpp.rb', line 49

def zone_configuration(zone_tag)
  code, response = post URL_ZONE_CONFIG, {:PolicyDN => policy_dn(zone_tag)}
  if code != 200
    raise Vcert::ServerUnexpectedBehaviorError, "Status  #{code}"
  end
  parse_zone_configuration response
end