ultrasoap 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8e94372ad75126d76e9ebfe1a4bc6cedf0d87b9e
4
- data.tar.gz: c8280730fb842fc7409c458fb01d502dcfbb7b56
3
+ metadata.gz: 507ea593167429507f8f5a47997780f19e61ce30
4
+ data.tar.gz: ef8bba16c630b6f9c2460112c3adce843595cfc3
5
5
  SHA512:
6
- metadata.gz: 674e21baeedf11ef160ff0597f94d25eb32ecd26a243e06f7f24433f060b22d574f79cf08f51147e5ed79a934949765457c27abae0e257aaaec6ada67ae7ba88
7
- data.tar.gz: 924d527834559a1dce1610807662d4700e00bbc6a7acc436425738097b21e86a1867371d1d5667d932c55f1407447b0745db19bc7cf5e85817390b9e2bc5ddf2
6
+ metadata.gz: eadaebea9c0581a8ceb5c408a607661b7f886e9f5432df058952d74b0c620a5ebd5c0f6ef48eaf608351fb66fac8ec56eec1d5a615c682404c0109d3b69f7803
7
+ data.tar.gz: 41e2a9e910cdc75d768b2ba134b5f58c51eaa21c3939ef96bb4e8712a4d07868e16aa9ba97a634a163322d67feed7e25f9d97488634be580bd9f05c09ea8b99b
@@ -25,12 +25,13 @@ module UltraSOAP
25
25
  attr_accessor :test_wsdl
26
26
  attr_accessor :prod_wsdl
27
27
  attr_accessor :environment
28
+ attr_accessor :use_transactions
28
29
  end
29
30
 
30
31
  # Instance variables
31
32
  attr_accessor :logging
32
33
  attr_accessor :loglevel
33
- attr_accessor :use_transactions
34
+ attr_accessor :transactions
34
35
 
35
36
  # Constructor
36
37
  def initialize()
@@ -47,7 +48,7 @@ module UltraSOAP
47
48
 
48
49
  # Setting up parameter values, if provided. If not, defaults are assumed
49
50
 
50
- @use_transactions = Settings['use_transactions'] || Client.use_transactions
51
+ @transactions = Settings['use_transactions'] || Client.use_transactions
51
52
  @logdest = Settings['logfile'] || Client.logdest
52
53
 
53
54
  @logger = Logger.new(@logdest)
@@ -81,7 +82,7 @@ module UltraSOAP
81
82
  # * message: the message hash
82
83
  def send_request(method, message, strip_namespaces=true)
83
84
  # If the client is using transactions, append the transaction id to the message hash
84
- if @use_transactions == true
85
+ if @transactions == true
85
86
  transaction_hash = { :transaction_id => @transaction_id }
86
87
  message.merge(transaction_hash)
87
88
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'ultrasoap'
3
- s.version = '0.1.1'
3
+ s.version = '0.1.2'
4
4
  s.summary = "Simple Ruby client library for UltraDNS SOAP API"
5
5
  s.description = "Connect to Neustar's UltraDNS SOAP API.\nFKA ultrasoap-ruby.\nAny feedback or contribution is appreciated."
6
6
  s.authors = ["Gabriel Sambarino"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ultrasoap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriel Sambarino