class GlobalSign::DnsVerification::Response

Public Instance Methods

params() click to toggle source
# File lib/global_sign/dns_verification/response.rb, line 14
def params
  @params ||= {
    order_id:               @xml.xpath(XPath::ORDER_ID).text,
    dns_txt:                @xml.xpath(XPath::DNS_TXT).text,
    verification_fqdn_list: verification_fqdn_list,
  }
end
response_header() click to toggle source
# File lib/global_sign/dns_verification/response.rb, line 10
def response_header
  :OrderResponseHeader
end

Private Instance Methods

verification_fqdn_list() click to toggle source
# File lib/global_sign/dns_verification/response.rb, line 24
def verification_fqdn_list
  @xml.xpath(XPath::VERIFICATION_FQDN_LIST).children.map(&:text)
end