epp-client-hostmaster 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/epp-client/hostmaster-host.rb +2 -4
- data/lib/epp-client/hostmaster.rb +1 -1
- metadata +1 -1
@@ -1,5 +1,3 @@
|
|
1
|
-
require "ipaddr"
|
2
|
-
|
3
1
|
module EPPClient
|
4
2
|
module HostmasterHost
|
5
3
|
def host_check_xml(*hosts) #:nodoc:
|
@@ -98,10 +96,10 @@ module EPPClient
|
|
98
96
|
end
|
99
97
|
|
100
98
|
if (value = host.xpath('host:addr[@ip="v4"]', EPPClient::SCHEMAS_URL)).size > 0
|
101
|
-
ret[:addrv4] = value.map {|ip|
|
99
|
+
ret[:addrv4] = value.map {|ip| ip.text }
|
102
100
|
end
|
103
101
|
if (value = host.xpath('host:addr[@ip="v6"]', EPPClient::SCHEMAS_URL)).size > 0
|
104
|
-
ret[:addrv6] = value.map {|ip|
|
102
|
+
ret[:addrv6] = value.map {|ip| ip.text }
|
105
103
|
end
|
106
104
|
|
107
105
|
%w(clID crID upID).each do |val|
|