stamps 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,6 +13,8 @@ module Stamps
13
13
  :test_mode,
14
14
  :raise_errors,
15
15
  :log_messages,
16
+ :open_timeout,
17
+ :read_timeout,
16
18
  :endpoint].freeze
17
19
 
18
20
  # The endpoint that will be used to connect if none is set
@@ -64,6 +66,8 @@ module Stamps
64
66
  self.format = DEFAULT_FORMAT
65
67
  self.log_messages = DEFAULT_LOG_MESSAGES
66
68
  self.raise_errors = DEFAULT_RAISE_ERRORS
69
+ self.open_timeout = 30
70
+ self.read_timeout = 30
67
71
  end
68
72
  end
69
73
  end
@@ -19,6 +19,8 @@ module Stamps
19
19
  globals.headers({ "SoapAction" => formatted_soap_action(web_method) })
20
20
  globals.element_form_default :qualified
21
21
  globals.namespace_identifier :tns
22
+ globals.open_timeout self.open_timeout
23
+ globals.read_timeout self.read_timeout
22
24
  end
23
25
 
24
26
  response = client.call(web_method, :message => params.to_hash)
@@ -1,3 +1,3 @@
1
1
  module Stamps
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stamps
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-11-04 00:00:00.000000000 Z
12
+ date: 2014-01-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: simplecov