api_banking 0.1.6 → 0.1.7

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4456a204007f19fa0bc71be3ba6c7f276b426ef7
4
- data.tar.gz: 48b76737d0f77045bfa5bef069eda8489f6e99aa
3
+ metadata.gz: b5fb1e68a48bbf75372797d5661fc2ede4332aaf
4
+ data.tar.gz: 1ba6007de79b8ee6873c2c39d8fb4993380eccf8
5
5
  SHA512:
6
- metadata.gz: c285a2627402337d618202129ddd2c98e05eaee1533124a01a8f1e658064fd682e4418946c3ef10ddfbc6e23ea5488be42ca87a01471059f075288319fc860a5
7
- data.tar.gz: e3f9964409ca80f4b65bafe714995d3db432b1fb7ffc9075abafc96c1f37145c8bf8a3727ef9b27d05a46a8af073726c115676ce22bfb7e3cdce08ef586f8114
6
+ metadata.gz: 3db8975792b0b26caa4c80eeb966b84840fe98e528ab2863472022a2ad4db115f27e961d329369dfc8cf372a6af87566ef3fba176eb2d3cc6286ebd48a3552f7
7
+ data.tar.gz: ca8e40c8670e9c8c7f3ad1b21a2f79b830ae5963b58eb8ddeb97fce8658d434dc32e256ef2b2423009e6c6f4506fab130d52374439fa9ca41d8bbc02b14bb587
@@ -1,6 +1,11 @@
1
1
  module ApiBanking
2
2
 
3
3
  class SoapClient
4
+ @@last_response = nil
5
+
6
+ def self.last_response
7
+ @@last_response
8
+ end
4
9
 
5
10
  def self.do_remote_call(&block)
6
11
  data = construct_envelope(&block)
@@ -23,6 +28,8 @@ module ApiBanking
23
28
  request = Typhoeus::Request.new(self.configuration.environment.endpoints[self.name.split('::').last.to_sym], options)
24
29
  response = request.run
25
30
 
31
+ @@last_response = response
32
+
26
33
  parse_response(response)
27
34
  end
28
35
 
@@ -1,3 +1,3 @@
1
1
  module ApiBanking
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: api_banking
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - akil
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-08-23 00:00:00.000000000 Z
11
+ date: 2016-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -163,7 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
163
163
  version: '0'
164
164
  requirements: []
165
165
  rubyforge_project:
166
- rubygems_version: 2.4.6
166
+ rubygems_version: 2.4.7
167
167
  signing_key:
168
168
  specification_version: 4
169
169
  summary: Ruby SDK to Connect to Banks