ultrasoap 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/client.rb +15 -0
- data/ultrasoap-ruby.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84e37d34cdd9c7aa26fbd26f81a3c0da40b8d020
|
4
|
+
data.tar.gz: 453357f755c4e0c48c49b44a18410f7681d5b235
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11eee2549e4d6cec749294d17142b6db73c2c08a19a82f294dc1a76a6e1fef48dbdf43238750772819bc08b80561e6161cb1ca11e842a300909e2abf42318229
|
7
|
+
data.tar.gz: a47572acf94f2101b822117c19cd812fbfa8288528713f5eb1f0b7fecb657bd6f34ea5cb89312fde388366c5773c8df28493356665b5b14cbebd36b90a85fb9d
|
data/lib/client.rb
CHANGED
@@ -137,6 +137,21 @@ module UltraSOAP
|
|
137
137
|
end
|
138
138
|
end
|
139
139
|
|
140
|
+
##################
|
141
|
+
# Wrapper methods
|
142
|
+
##################
|
143
|
+
|
144
|
+
def network_status
|
145
|
+
begin
|
146
|
+
response = self.send_request :get_neustar_network_status, ''
|
147
|
+
Nokogiri::XML(response.to_xml).remove_namespaces!.xpath("//NeustarNetworkStatus/text()").to_s
|
148
|
+
rescue Exception => e
|
149
|
+
@logger.error("Error in retrieving Neustar's network status: #{e.message}")
|
150
|
+
nil
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
|
140
155
|
# Helper method to retrieve load balancing pools data
|
141
156
|
# Parameters:
|
142
157
|
# - zone (don't forget the trailing dot)
|
data/ultrasoap-ruby.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'ultrasoap'
|
3
|
-
s.version = '0.1.
|
3
|
+
s.version = '0.1.5'
|
4
4
|
s.summary = "Simple Ruby client library for UltraDNS SOAP API"
|
5
5
|
s.description = "Connect to Neustar's UltraDNS SOAP API. FKA ultrasoap-ruby. Any feedback or contribution is appreciated."
|
6
6
|
s.authors = ["Gabriel Sambarino"]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ultrasoap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriel Sambarino
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: savon
|