TodoPagoConectorSS 1.8.0 → 1.8.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/.github/issue_template.md +34 -0
  3. data/.gitignore +37 -0
  4. data/README.md +1553 -0
  5. data/TodoPago/DataProvider.rb +273 -0
  6. data/TodoPago/DiscoverPaymentMethodsTest.rb +71 -0
  7. data/TodoPago/GetAuthorizeAnswerTest.rb +61 -0
  8. data/TodoPago/GetCredentialsTest.rb +70 -0
  9. data/TodoPago/GetOperationsTest.rb +72 -0
  10. data/TodoPago/MockClient.rb +195 -0
  11. data/TodoPago/ReturnRequestTest.rb +64 -0
  12. data/TodoPago/SendAuthorizeRequestTest.rb +63 -0
  13. data/TodoPago/coverage/.last_run.json +5 -0
  14. data/TodoPago/coverage/.resultset.json +892 -0
  15. data/TodoPago/coverage/.resultset.json.lock +0 -0
  16. data/TodoPago/coverage/assets/0.10.0/application.css +799 -0
  17. data/TodoPago/coverage/assets/0.10.0/application.js +1707 -0
  18. data/TodoPago/coverage/assets/0.10.0/colorbox/border.png +0 -0
  19. data/TodoPago/coverage/assets/0.10.0/colorbox/controls.png +0 -0
  20. data/TodoPago/coverage/assets/0.10.0/colorbox/loading.gif +0 -0
  21. data/TodoPago/coverage/assets/0.10.0/colorbox/loading_background.png +0 -0
  22. data/TodoPago/coverage/assets/0.10.0/favicon_green.png +0 -0
  23. data/TodoPago/coverage/assets/0.10.0/favicon_red.png +0 -0
  24. data/TodoPago/coverage/assets/0.10.0/favicon_yellow.png +0 -0
  25. data/TodoPago/coverage/assets/0.10.0/loading.gif +0 -0
  26. data/TodoPago/coverage/assets/0.10.0/magnify.png +0 -0
  27. data/TodoPago/coverage/assets/0.10.0/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  28. data/TodoPago/coverage/assets/0.10.0/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  29. data/TodoPago/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  30. data/TodoPago/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  31. data/TodoPago/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  32. data/TodoPago/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  33. data/TodoPago/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  34. data/TodoPago/coverage/assets/0.10.0/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  35. data/TodoPago/coverage/assets/0.10.0/smoothness/images/ui-icons_222222_256x240.png +0 -0
  36. data/TodoPago/coverage/assets/0.10.0/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  37. data/TodoPago/coverage/assets/0.10.0/smoothness/images/ui-icons_454545_256x240.png +0 -0
  38. data/TodoPago/coverage/assets/0.10.0/smoothness/images/ui-icons_888888_256x240.png +0 -0
  39. data/TodoPago/coverage/assets/0.10.0/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  40. data/TodoPago/coverage/index.html +5510 -0
  41. data/TodoPago/test.rb +203 -0
  42. data/TodoPago/test_validations.rb +108 -0
  43. data/TodoPago/tests_coverage.rb +11 -0
  44. data/TodoPagoConector.gemspec +14 -0
  45. data/lib/Authorize.wsdl +320 -0
  46. data/lib/Classes/user.rb +30 -0
  47. data/lib/Connectors/RestConnector.rb +65 -0
  48. data/lib/Connectors/ServiceConnector.rb +32 -0
  49. data/lib/Connectors/SoapConnector.rb +139 -0
  50. data/lib/Exceptions/connection_exception.rb +6 -0
  51. data/lib/Exceptions/empty_field_exception.rb +6 -0
  52. data/lib/Exceptions/empty_field_password_exception.rb +8 -0
  53. data/lib/Exceptions/empty_field_user_exception.rb +8 -0
  54. data/lib/Exceptions/prueba.rb +5 -0
  55. data/lib/Exceptions/response_exception.rb +6 -0
  56. data/lib/FraudControlValidation.rb +406 -0
  57. data/lib/Operations.wsdl +319 -0
  58. data/lib/ServiceReferences/Authorize.wsdl +320 -0
  59. data/lib/ServiceReferences/EchoService.wsdl +125 -0
  60. data/lib/ServiceReferences/Operations.wsdl +319 -0
  61. data/lib/Validation/FraudControlValidation.rb +406 -0
  62. data/lib/config/postalCodes.json +26 -0
  63. data/lib/config/validations.json +623 -0
  64. data/lib/prueba.rb +4 -0
  65. data/lib/user.rb +41 -0
  66. metadata +65 -1
@@ -0,0 +1,72 @@
1
+ #encoding: utf-8
2
+ require_relative "../lib/todo_pago_conector.rb"
3
+ require_relative "MockClient.rb"
4
+ require_relative "DataProvider.rb"
5
+
6
+
7
+ require "test/unit"
8
+
9
+
10
+ class GetOperationsTest < Test::Unit::TestCase
11
+ attr_accessor :clientMock , :dataProvider
12
+
13
+ def testGetOperationsOk
14
+ @dataProvider = DataProvider.new()
15
+ @clientMock = MockClient.new( @dataProvider.getHeader(), "test")
16
+ sdk = TodoPagoConector.new(@dataProvider.getHeader(), "test")
17
+
18
+ sdk.setRestConnector(@clientMock)
19
+
20
+ optionsOperations = @dataProvider.GetOperationsOptions('ok')
21
+
22
+ response = sdk.getOperations(optionsOperations)
23
+ response = @clientMock.xml_to_hash(response)
24
+
25
+ assert_equal(@dataProvider.GetOperationsRequestOk(), @clientMock.getLastRequest());
26
+ assert_equal("-1", response["Operations"][0]["RESULTCODE"][0])
27
+
28
+ end
29
+
30
+ def testGetOperationsFail
31
+ @dataProvider = DataProvider.new()
32
+ @clientMock = MockClient.new( @dataProvider.getHeader(), "test")
33
+ sdk = TodoPagoConector.new(@dataProvider.getHeader(), "test")
34
+
35
+ sdk.setRestConnector(@clientMock)
36
+
37
+ optionsOperations = @dataProvider.GetOperationsOptions('fail')
38
+
39
+ response = sdk.getOperations(optionsOperations)
40
+ response = @clientMock.xml_to_hash(response)
41
+
42
+ assert_not_equal("-1", response["Status"])
43
+
44
+ end
45
+
46
+ def testGetByRangeDateTimeOk
47
+ @dataProvider = DataProvider.new()
48
+ @clientMock = MockClient.new( @dataProvider.getHeader(), "test")
49
+ sdk = TodoPagoConector.new(@dataProvider.getHeader(), "test")
50
+
51
+ sdk.setRestConnector(@clientMock)
52
+ optionsGBRDT = @dataProvider.GetByRangeDateTimeOptions('ok')
53
+
54
+ response = sdk.getByRangeDateTime(optionsGBRDT)
55
+ assert_equal(@dataProvider.GetByRangeDateTimeResponseOk, response)
56
+
57
+ end
58
+
59
+ def testGetByRangeDateTimeFail
60
+ @dataProvider = DataProvider.new()
61
+ @clientMock = MockClient.new( @dataProvider.getHeader(), "test")
62
+ sdk = TodoPagoConector.new(@dataProvider.getHeader(), "test")
63
+
64
+ sdk.setRestConnector(@clientMock)
65
+ optionsGBRDT = @dataProvider.GetByRangeDateTimeOptions('fail')
66
+
67
+ response = sdk.getByRangeDateTime(optionsGBRDT)
68
+ assert_not_equal(@dataProvider.GetByRangeDateTimeResponseOk, response)
69
+
70
+ end
71
+
72
+ end
@@ -0,0 +1,195 @@
1
+ #encoding: utf-8
2
+ require 'savon'
3
+ require 'rest-client'
4
+ require 'json'
5
+ require_relative "../lib/Connectors/ServiceConnector.rb"
6
+ require 'xmlsimple'
7
+
8
+ require_relative "DataProvider.rb"
9
+
10
+ class MockClient < ServiceConnector
11
+ attr_accessor :merchant_authorized, :existing_transaction, :existing_request_key, :apiKey, :payments_ok, :dataProvider, :lastRequest
12
+
13
+ def initialize(j_header_http, *args)
14
+ @merchant_authorized = '2153'
15
+ @apiKey = 'TODOPAGO f3d8b72c94ab4a06be2ef7c95490f7d3'
16
+ @user = 'mail@todopago.com'
17
+ @password = 'Password1'
18
+ @payments_ok = true
19
+ @existing_transaction = '185'
20
+ @existing_request_key = '710268a7-7688-c8bf-68c9-430107e6b9da'
21
+ @dataProvider = DataProvider.new()
22
+ end
23
+
24
+ def getLastRequest()
25
+ return @lastRequest
26
+ end
27
+
28
+ ### soapClient ###
29
+ def sendAuthorizeRequest(options_commerce, optionsAuthorize)
30
+
31
+ response = nil
32
+
33
+ @lastRequest = {Security: options_commerce[:security],
34
+ Merchant: options_commerce[:MERCHANT],
35
+ EncodingMethod: options_commerce[:EncodingMethod],
36
+ URL_OK: options_commerce[:URL_OK],
37
+ URL_ERROR: options_commerce[:URL_ERROR],
38
+ EMAILCLIENTE: options_commerce[:EMAILCLIENTE],
39
+ Session: options_commerce[:Session],
40
+ Payload: SoapConnector.buildPayload(optionsAuthorize)}
41
+
42
+
43
+ if(optionsAuthorize[:MERCHANT] == @merchant_authorized )
44
+ if optionsAuthorize[:CSBTEMAIL] ==""
45
+ response = @dataProvider.sendAuthorizeRequestSoapFailRequired()
46
+ else
47
+ response = @dataProvider.sendAuthorizeRequestSoapResponseOK()
48
+ end
49
+ elsif optionsAuthorize[:MERCHANT] != @merchant_authorized
50
+ response = @dataProvider.sendAuthorizeRequestSoapFail702()
51
+ end
52
+
53
+ return response
54
+ end
55
+
56
+
57
+ def getAuthorizeAnswer(optionsAnwser)
58
+ @lastRequest = {Security: optionsAnwser[:security],
59
+ Merchant: optionsAnwser[:MERCHANT],
60
+ RequestKey: optionsAnwser[:RequestKey],
61
+ AnswerKey: optionsAnwser[:AnswerKey]};
62
+
63
+ if(optionsAnwser[:MERCHANT] == @merchant_authorized )
64
+ optionsAnwser.each do |key, value|
65
+ if value.empty?
66
+ return @dataProvider.GetAuthorizeAnswerResponseFail()
67
+ end
68
+ end
69
+ else
70
+ return @dataProvider.GetAuthorizeAnswerResponse702()
71
+ end
72
+
73
+
74
+
75
+ return @dataProvider.GetAuthorizeAnswerResponseOK()
76
+ end
77
+
78
+
79
+ def returnRequest(refoundOptions)
80
+
81
+ @lastRequest = {
82
+ Security: refoundOptions[:Security],
83
+ Merchant: refoundOptions[:Merchant],
84
+ RequestKey: refoundOptions[:RequestKey],
85
+ AMOUNT: refoundOptions[:AMOUNT]
86
+ }
87
+
88
+ if refoundOptions[:Merchant] == @merchant_authorized
89
+ if refoundOptions[:RequestKey] == @existing_request_key
90
+ response = @dataProvider.GetReturnRequestResponseOK()
91
+ else
92
+ response = @dataProvider.GetReturnRequestResponseFail()
93
+ end
94
+ else
95
+ response = @dataProvider.GetReturnRequestResponseFail702()
96
+ end
97
+
98
+ return response
99
+ end
100
+ ####################
101
+
102
+
103
+ ### restClient
104
+ def getOperations(optionsOperations)
105
+ @lastRequest = 'https://developers.todopago.com.ar/t/1.1/api/Operations/GetByOperationId/MERCHANT/' + optionsOperations[:MERCHANT] + '/OPERATIONID/' + optionsOperations[:OPERATIONID]
106
+
107
+ if (optionsOperations[:MERCHANT] == @merchant_authorized and optionsOperations[:OPERATIONID] == @existing_transaction )
108
+ xml = @dataProvider.GetOperationsResponseOK()
109
+ else
110
+ xml = @dataProvider.GetOperationsResponseFail()
111
+ end
112
+
113
+ return xml
114
+ end
115
+
116
+
117
+ def getByRangeDateTime(optionsGetByRange)
118
+ @lastRequest = "https://developers.todopago.com.ar/t/1.1/api/Operations/GetByRangeDateTime/MERCHANT/#{optionsGetByRange[:Merchant]}/STARTDATE/#{optionsGetByRange[:STARTDATE]}/ENDDATE/#{optionsGetByRange[:ENDDATE]}/PAGENUMBER/#{optionsGetByRange[:PAGENUMBER]}"
119
+
120
+ if (optionsGetByRange[:Merchant] == @merchant_authorized )
121
+ response = @dataProvider.GetByRangeDateTimeResponseOk()
122
+ else
123
+ response = @dataProvider.GetByRangeDateTimeResponseFail()
124
+ end
125
+
126
+ return response
127
+ end
128
+
129
+
130
+
131
+ def getCredentials(user)
132
+
133
+ @lastRequest = "https://developers.todopago.com.ar/api/Credentials"
134
+
135
+ # aca mando el JSON RestClient.post url, user.getData.to_json, :content_type => :json
136
+ if ( user.user != @user )
137
+ response = @dataProvider.GetCredentialsResponseFailUser()
138
+ response = JSON.parse(response)
139
+
140
+ return response
141
+ end
142
+
143
+ if ( user.password != @password )
144
+ response = @dataProvider.GetCredentialsResponseFailPassword()
145
+ response = JSON.parse(response)
146
+
147
+ return response
148
+ end
149
+
150
+ response = @dataProvider.GetCredentialsResponseOK()
151
+ response = JSON.parse(response)
152
+
153
+ user.merchant = response['Credentials']['merchantId']
154
+ user.apiKey = response['Credentials']['APIKey']
155
+
156
+ return user
157
+ end
158
+
159
+
160
+ def discoverPaymentMethods
161
+ @lastRequest = 'https://developers.todopago.com.ar/api/PaymentMethods/Discover'
162
+
163
+ if (@payments_ok)
164
+ response = @dataProvider.discoverPaymentMethodsResponseOK()
165
+ else
166
+ response = @dataProvider.discoverPaymentMethodsResponseFail()
167
+ end
168
+
169
+ return response
170
+ end
171
+
172
+
173
+
174
+ def getAllPaymentMethods(optionsPaymentMethod)
175
+ @lastRequest = 'https://developers.todopago.com.ar/api/PaymentMethods/Get/MERCHANT/' + optionsPaymentMethod[:MERCHANT]
176
+
177
+ if (optionsPaymentMethod[:MERCHANT] == @merchant_authorized )
178
+ response = @dataProvider.GetAllPaymentMethodsResponseOK()
179
+ else
180
+ response = @dataProvider.discoverPaymentMethodsResponseFail()
181
+ end
182
+
183
+ return response
184
+ end
185
+
186
+
187
+
188
+
189
+
190
+
191
+
192
+ def xml_to_hash(xml)
193
+ return XmlSimple.xml_in(xml)
194
+ end
195
+ end
@@ -0,0 +1,64 @@
1
+ #encoding: utf-8
2
+ require_relative "../lib/todo_pago_conector.rb"
3
+ require_relative "MockClient.rb"
4
+ require_relative "DataProvider.rb"
5
+
6
+ require "test/unit"
7
+
8
+
9
+ class ReturnRequestTest < Test::Unit::TestCase
10
+ attr_accessor :clientMock , :dataProvider
11
+
12
+ def testReturnRequestTestOk
13
+ @dataProvider = DataProvider.new()
14
+ @clientMock = MockClient.new( @dataProvider.getHeader(), "test")
15
+ sdk = TodoPagoConector.new(@dataProvider.getHeader(), "test")
16
+
17
+ sdk.setSoapConnector(@clientMock)
18
+
19
+ params = @dataProvider.GetReturnOptions('ok')
20
+ response = sdk.returnRequest(params)
21
+ response = JSON.parse(response)
22
+
23
+ assert_equal(@dataProvider.GetReturnRequestRequestOK(), @clientMock.getLastRequest())
24
+ assert_equal("2011", response["envelope"]["body"]["return_response"]["status_code"])
25
+
26
+ end
27
+
28
+ def testReturnRequestTestFail
29
+ @dataProvider = DataProvider.new()
30
+ @clientMock = MockClient.new( @dataProvider.getHeader(), "test")
31
+ sdk = TodoPagoConector.new(@dataProvider.getHeader(), "test")
32
+
33
+ sdk.setSoapConnector(@clientMock)
34
+
35
+ params = @dataProvider.GetReturnOptions('fail')
36
+ response = sdk.returnRequest(params)
37
+ response = JSON.parse(response)
38
+
39
+ assert_not_equal("2011", response["envelope"]["body"]["return_response"]["status_code"])
40
+
41
+ end
42
+
43
+
44
+ def testReturnRequestTestFail702
45
+ @dataProvider = DataProvider.new()
46
+ @clientMock = MockClient.new( @dataProvider.getHeader(), "test")
47
+ sdk = TodoPagoConector.new(@dataProvider.getHeader(), "test")
48
+
49
+ sdk.setSoapConnector(@clientMock)
50
+
51
+ params = @dataProvider.GetReturnOptions('702')
52
+ response = sdk.returnRequest(params)
53
+ response = JSON.parse(response)
54
+
55
+ assert_equal("702", response["envelope"]["body"]["return_response"]["status_code"])
56
+
57
+ end
58
+
59
+
60
+
61
+
62
+
63
+ end
64
+
@@ -0,0 +1,63 @@
1
+ #encoding: utf-8
2
+ require_relative "../lib/todo_pago_conector.rb"
3
+ require_relative "MockClient.rb"
4
+ require_relative "DataProvider.rb"
5
+
6
+ require "test/unit"
7
+
8
+
9
+ class SendAuthorizeRequestTest < Test::Unit::TestCase
10
+ attr_accessor :clientMock , :dataProvider
11
+
12
+ def testSendAuthorizeRequestOk
13
+
14
+ @dataProvider = DataProvider.new()
15
+ @clientMock = MockClient.new( @dataProvider.getHeader(), "test")
16
+ sdk = TodoPagoConector.new(@dataProvider.getHeader(), "test")
17
+
18
+ sdk.setSoapConnector(@clientMock)
19
+
20
+ params = @dataProvider.sendAuthorizeRequestOptions('ok')
21
+ response = sdk.sendAuthorizeRequest(params[:optionsSAR_comercio], params[:optionsSAR_operacion])
22
+ response = JSON.parse(response)
23
+
24
+ assert_equal(@dataProvider.sendAuthorizeRequestSoapRequestOK(), @clientMock.getLastRequest())
25
+ assert_equal("-1", response["envelope"]["body"]["send_authorize_request_response"]["status_code"])
26
+
27
+ end
28
+
29
+ def testSendAuthorizeRequestFail
30
+
31
+ @dataProvider = DataProvider.new()
32
+ @clientMock = MockClient.new(@dataProvider.getHeader(), "test")
33
+ sdk = TodoPagoConector.new(@dataProvider.getHeader(), "test")
34
+
35
+ sdk.setSoapConnector(@clientMock)
36
+
37
+ params = @dataProvider.sendAuthorizeRequestOptions('fail_required')
38
+
39
+ response = sdk.sendAuthorizeRequest(params[:optionsSAR_comercio], params[:optionsSAR_operacion])
40
+ response = JSON.parse(response)
41
+
42
+ assert_not_equal("-1", response["envelope"]["body"]["send_authorize_request_response"]["status_code"])
43
+
44
+ end
45
+
46
+ def testSendAuthorizeRequest702
47
+
48
+ @dataProvider = DataProvider.new()
49
+ @clientMock = MockClient.new(@dataProvider.getHeader(), "test")
50
+ sdk = TodoPagoConector.new(@dataProvider.getHeader(), "test")
51
+
52
+ sdk.setSoapConnector(@clientMock)
53
+
54
+ params = @dataProvider.sendAuthorizeRequestOptions('702')
55
+ response = sdk.sendAuthorizeRequest(params[:optionsSAR_comercio], params[:optionsSAR_operacion])
56
+ response = JSON.parse(response)
57
+
58
+ assert_equal("702", response["envelope"]["body"]["send_authorize_request_response"]["status_code"])
59
+
60
+ end
61
+
62
+
63
+ end
@@ -0,0 +1,5 @@
1
+ {
2
+ "result": {
3
+ "covered_percent": 100.0
4
+ }
5
+ }
@@ -0,0 +1,892 @@
1
+ {
2
+ "Unit Tests": {
3
+ "coverage": {
4
+ "/home/alejandro/GIT/dev-sdk-ruby/TodoPago/DiscoverPaymentMethodsTest.rb": [
5
+ null,
6
+ 1,
7
+ 1,
8
+ 1,
9
+ 1,
10
+ null,
11
+ 1,
12
+ null,
13
+ null,
14
+ 1,
15
+ 1,
16
+ null,
17
+ 1,
18
+ 1,
19
+ 1,
20
+ 1,
21
+ null,
22
+ 1,
23
+ 1,
24
+ null,
25
+ 1,
26
+ null,
27
+ null,
28
+ null,
29
+ null,
30
+ 1,
31
+ 1,
32
+ 1,
33
+ 1,
34
+ 1,
35
+ null,
36
+ 1,
37
+ null,
38
+ 1,
39
+ 1,
40
+ null,
41
+ null,
42
+ 1,
43
+ 1,
44
+ 1,
45
+ 1,
46
+ null,
47
+ 1,
48
+ 1,
49
+ 1,
50
+ null,
51
+ 1,
52
+ null,
53
+ null,
54
+ 1,
55
+ null,
56
+ null,
57
+ 1,
58
+ 1,
59
+ 1,
60
+ 1,
61
+ 1,
62
+ null,
63
+ 1,
64
+ 1,
65
+ 1,
66
+ null,
67
+ 1,
68
+ null,
69
+ null,
70
+ 1,
71
+ null,
72
+ null,
73
+ null,
74
+ null,
75
+ null
76
+ ],
77
+ "/home/alejandro/GIT/dev-sdk-ruby/TodoPago/MockClient.rb": [
78
+ null,
79
+ 1,
80
+ 1,
81
+ 1,
82
+ 1,
83
+ 1,
84
+ null,
85
+ 1,
86
+ null,
87
+ 1,
88
+ 1,
89
+ null,
90
+ 1,
91
+ 20,
92
+ 20,
93
+ 20,
94
+ 20,
95
+ 20,
96
+ 20,
97
+ 20,
98
+ 20,
99
+ null,
100
+ null,
101
+ 1,
102
+ 4,
103
+ null,
104
+ null,
105
+ null,
106
+ 1,
107
+ null,
108
+ 3,
109
+ null,
110
+ 3,
111
+ null,
112
+ null,
113
+ null,
114
+ null,
115
+ null,
116
+ null,
117
+ null,
118
+ null,
119
+ null,
120
+ 3,
121
+ 2,
122
+ 1,
123
+ null,
124
+ 1,
125
+ null,
126
+ null,
127
+ 1,
128
+ null,
129
+ null,
130
+ 3,
131
+ null,
132
+ null,
133
+ null,
134
+ 1,
135
+ 3,
136
+ null,
137
+ null,
138
+ null,
139
+ null,
140
+ 3,
141
+ 2,
142
+ 7,
143
+ 1,
144
+ null,
145
+ null,
146
+ null,
147
+ 1,
148
+ null,
149
+ null,
150
+ null,
151
+ null,
152
+ 1,
153
+ null,
154
+ null,
155
+ null,
156
+ 1,
157
+ null,
158
+ 3,
159
+ null,
160
+ null,
161
+ null,
162
+ null,
163
+ null,
164
+ null,
165
+ 3,
166
+ 2,
167
+ 1,
168
+ null,
169
+ 1,
170
+ null,
171
+ null,
172
+ 1,
173
+ null,
174
+ null,
175
+ 3,
176
+ null,
177
+ null,
178
+ null,
179
+ null,
180
+ null,
181
+ 1,
182
+ 2,
183
+ null,
184
+ 2,
185
+ 1,
186
+ null,
187
+ 1,
188
+ null,
189
+ null,
190
+ 2,
191
+ null,
192
+ null,
193
+ null,
194
+ 1,
195
+ 2,
196
+ null,
197
+ 2,
198
+ 1,
199
+ null,
200
+ 1,
201
+ null,
202
+ null,
203
+ 2,
204
+ null,
205
+ null,
206
+ null,
207
+ null,
208
+ 1,
209
+ null,
210
+ 3,
211
+ null,
212
+ null,
213
+ 3,
214
+ 1,
215
+ 1,
216
+ null,
217
+ 1,
218
+ null,
219
+ null,
220
+ 2,
221
+ 1,
222
+ 1,
223
+ null,
224
+ 1,
225
+ null,
226
+ null,
227
+ 1,
228
+ 1,
229
+ null,
230
+ 1,
231
+ 1,
232
+ null,
233
+ 1,
234
+ null,
235
+ null,
236
+ null,
237
+ 1,
238
+ 2,
239
+ null,
240
+ 2,
241
+ 1,
242
+ null,
243
+ 1,
244
+ null,
245
+ null,
246
+ 2,
247
+ null,
248
+ null,
249
+ null,
250
+ null,
251
+ 1,
252
+ 2,
253
+ null,
254
+ 2,
255
+ 1,
256
+ null,
257
+ 1,
258
+ null,
259
+ null,
260
+ 2,
261
+ null,
262
+ null,
263
+ null,
264
+ null,
265
+ null,
266
+ null,
267
+ null,
268
+ null,
269
+ 1,
270
+ 2,
271
+ null,
272
+ null
273
+ ],
274
+ "/home/alejandro/GIT/dev-sdk-ruby/TodoPago/DataProvider.rb": [
275
+ null,
276
+ null,
277
+ 1,
278
+ null,
279
+ 1,
280
+ null,
281
+ null,
282
+ 26,
283
+ null,
284
+ null,
285
+ null,
286
+ 1,
287
+ null,
288
+ null,
289
+ 3,
290
+ 3,
291
+ 3,
292
+ 3,
293
+ 3,
294
+ null,
295
+ null,
296
+ 3,
297
+ 3,
298
+ 3,
299
+ 3,
300
+ 3,
301
+ 3,
302
+ 3,
303
+ 3,
304
+ 3,
305
+ null,
306
+ 3,
307
+ 3,
308
+ 3,
309
+ 3,
310
+ 3,
311
+ 3,
312
+ 3,
313
+ 3,
314
+ 3,
315
+ 3,
316
+ null,
317
+ 3,
318
+ 3,
319
+ 3,
320
+ 3,
321
+ 3,
322
+ 3,
323
+ 3,
324
+ 3,
325
+ 3,
326
+ null,
327
+ 3,
328
+ 3,
329
+ 3,
330
+ 3,
331
+ 3,
332
+ 3,
333
+ 3,
334
+ null,
335
+ 3,
336
+ 3,
337
+ 3,
338
+ 3,
339
+ 3,
340
+ null,
341
+ null,
342
+ null,
343
+ null,
344
+ 3,
345
+ 3,
346
+ 3,
347
+ 3,
348
+ 3,
349
+ 3,
350
+ null,
351
+ 3,
352
+ 3,
353
+ 3,
354
+ 3,
355
+ 3,
356
+ 3,
357
+ 3,
358
+ 3,
359
+ null,
360
+ null,
361
+ 3,
362
+ null,
363
+ 1,
364
+ null,
365
+ 1,
366
+ null,
367
+ null,
368
+ 3,
369
+ null,
370
+ 3,
371
+ null,
372
+ null,
373
+ null,
374
+ 1,
375
+ 1,
376
+ null,
377
+ null,
378
+ 1,
379
+ 1,
380
+ null,
381
+ null,
382
+ null,
383
+ 1,
384
+ 1,
385
+ null,
386
+ null,
387
+ 1,
388
+ 1,
389
+ null,
390
+ null,
391
+ null,
392
+ null,
393
+ 1,
394
+ 3,
395
+ 3,
396
+ 3,
397
+ 3,
398
+ 3,
399
+ null,
400
+ 3,
401
+ null,
402
+ 1,
403
+ null,
404
+ 1,
405
+ null,
406
+ null,
407
+ 3,
408
+ null,
409
+ null,
410
+ 1,
411
+ 1,
412
+ null,
413
+ null,
414
+ 1,
415
+ 1,
416
+ null,
417
+ null,
418
+ 1,
419
+ 1,
420
+ null,
421
+ null,
422
+ 1,
423
+ 1,
424
+ null,
425
+ null,
426
+ null,
427
+ 1,
428
+ 2,
429
+ 2,
430
+ 2,
431
+ 2,
432
+ 1,
433
+ null,
434
+ 2,
435
+ null,
436
+ null,
437
+ 1,
438
+ 1,
439
+ null,
440
+ null,
441
+ 1,
442
+ 1,
443
+ null,
444
+ null,
445
+ 1,
446
+ 1,
447
+ null,
448
+ null,
449
+ null,
450
+ 1,
451
+ 3,
452
+ 3,
453
+ 3,
454
+ 3,
455
+ 3,
456
+ null,
457
+ 3,
458
+ null,
459
+ 1,
460
+ null,
461
+ 1,
462
+ null,
463
+ null,
464
+ 3,
465
+ null,
466
+ null,
467
+ 1,
468
+ 1,
469
+ null,
470
+ null,
471
+ 1,
472
+ 1,
473
+ null,
474
+ null,
475
+ 1,
476
+ 1,
477
+ null,
478
+ null,
479
+ 1,
480
+ 1,
481
+ null,
482
+ null,
483
+ null,
484
+ 1,
485
+ 3,
486
+ 3,
487
+ null,
488
+ 1,
489
+ null,
490
+ 1,
491
+ null,
492
+ null,
493
+ 3,
494
+ null,
495
+ null,
496
+ null,
497
+ 1,
498
+ 1,
499
+ null,
500
+ null,
501
+ 1,
502
+ 1,
503
+ null,
504
+ null,
505
+ 1,
506
+ 1,
507
+ null,
508
+ null,
509
+ null,
510
+ null,
511
+ 1,
512
+ 3,
513
+ null,
514
+ null,
515
+ 1,
516
+ 2,
517
+ null,
518
+ null,
519
+ null,
520
+ 1,
521
+ 3,
522
+ null,
523
+ null,
524
+ null,
525
+ 1,
526
+ 2,
527
+ 2,
528
+ 2,
529
+ 2,
530
+ 2,
531
+ 2,
532
+ 1,
533
+ null,
534
+ null,
535
+ 2,
536
+ null,
537
+ null,
538
+ 1,
539
+ 3,
540
+ null,
541
+ null,
542
+ 1,
543
+ 1,
544
+ null,
545
+ null,
546
+ null,
547
+ null
548
+ ],
549
+ "/home/alejandro/GIT/dev-sdk-ruby/TodoPago/GetAuthorizeAnswerTest.rb": [
550
+ null,
551
+ 1,
552
+ 1,
553
+ 1,
554
+ null,
555
+ 1,
556
+ null,
557
+ null,
558
+ 1,
559
+ 1,
560
+ null,
561
+ 1,
562
+ 1,
563
+ 1,
564
+ 1,
565
+ null,
566
+ 1,
567
+ null,
568
+ 1,
569
+ 1,
570
+ 1,
571
+ null,
572
+ 1,
573
+ 1,
574
+ null,
575
+ null,
576
+ null,
577
+ 1,
578
+ 1,
579
+ 1,
580
+ 1,
581
+ null,
582
+ 1,
583
+ null,
584
+ 1,
585
+ null,
586
+ 1,
587
+ 1,
588
+ null,
589
+ 1,
590
+ null,
591
+ null,
592
+ null,
593
+ 1,
594
+ 1,
595
+ 1,
596
+ 1,
597
+ null,
598
+ 1,
599
+ null,
600
+ 1,
601
+ null,
602
+ 1,
603
+ 1,
604
+ null,
605
+ 1,
606
+ null,
607
+ null,
608
+ null,
609
+ null,
610
+ null
611
+ ],
612
+ "/home/alejandro/GIT/dev-sdk-ruby/TodoPago/GetCredentialsTest.rb": [
613
+ null,
614
+ 1,
615
+ 1,
616
+ 1,
617
+ 1,
618
+ null,
619
+ 1,
620
+ null,
621
+ null,
622
+ 1,
623
+ 1,
624
+ null,
625
+ 1,
626
+ 1,
627
+ null,
628
+ 1,
629
+ 1,
630
+ null,
631
+ 1,
632
+ null,
633
+ 1,
634
+ null,
635
+ 1,
636
+ null,
637
+ 1,
638
+ null,
639
+ 1,
640
+ 1,
641
+ 1,
642
+ null,
643
+ null,
644
+ null,
645
+ null,
646
+ 1,
647
+ 1,
648
+ null,
649
+ 1,
650
+ 1,
651
+ null,
652
+ 1,
653
+ null,
654
+ 1,
655
+ null,
656
+ 1,
657
+ null,
658
+ 1,
659
+ null,
660
+ 1,
661
+ null,
662
+ null,
663
+ null,
664
+ 1,
665
+ 1,
666
+ null,
667
+ 1,
668
+ 1,
669
+ null,
670
+ 1,
671
+ null,
672
+ 1,
673
+ null,
674
+ 1,
675
+ null,
676
+ 1,
677
+ 1,
678
+ null,
679
+ null,
680
+ null,
681
+ null,
682
+ null
683
+ ],
684
+ "/home/alejandro/GIT/dev-sdk-ruby/TodoPago/GetOperationsTest.rb": [
685
+ null,
686
+ 1,
687
+ 1,
688
+ 1,
689
+ null,
690
+ null,
691
+ 1,
692
+ null,
693
+ null,
694
+ 1,
695
+ 1,
696
+ null,
697
+ 1,
698
+ 1,
699
+ 1,
700
+ 1,
701
+ null,
702
+ 1,
703
+ null,
704
+ 1,
705
+ null,
706
+ 1,
707
+ 1,
708
+ null,
709
+ 1,
710
+ 1,
711
+ null,
712
+ null,
713
+ null,
714
+ 1,
715
+ 1,
716
+ 1,
717
+ 1,
718
+ null,
719
+ 1,
720
+ null,
721
+ 1,
722
+ null,
723
+ 1,
724
+ 1,
725
+ null,
726
+ 1,
727
+ null,
728
+ null,
729
+ null,
730
+ 1,
731
+ 1,
732
+ 1,
733
+ 1,
734
+ null,
735
+ 1,
736
+ 1,
737
+ null,
738
+ 1,
739
+ 1,
740
+ null,
741
+ null,
742
+ null,
743
+ 1,
744
+ 1,
745
+ 1,
746
+ 1,
747
+ null,
748
+ 1,
749
+ 1,
750
+ null,
751
+ 1,
752
+ 1,
753
+ null,
754
+ null,
755
+ null,
756
+ null
757
+ ],
758
+ "/home/alejandro/GIT/dev-sdk-ruby/TodoPago/ReturnRequestTest.rb": [
759
+ null,
760
+ 1,
761
+ 1,
762
+ 1,
763
+ null,
764
+ 1,
765
+ null,
766
+ null,
767
+ 1,
768
+ 1,
769
+ null,
770
+ 1,
771
+ 1,
772
+ 1,
773
+ 1,
774
+ null,
775
+ 1,
776
+ null,
777
+ 1,
778
+ 1,
779
+ 1,
780
+ null,
781
+ 1,
782
+ 1,
783
+ null,
784
+ null,
785
+ null,
786
+ 1,
787
+ 1,
788
+ 1,
789
+ 1,
790
+ null,
791
+ 1,
792
+ null,
793
+ 1,
794
+ 1,
795
+ 1,
796
+ null,
797
+ 1,
798
+ null,
799
+ null,
800
+ null,
801
+ null,
802
+ 1,
803
+ 1,
804
+ 1,
805
+ 1,
806
+ null,
807
+ 1,
808
+ null,
809
+ 1,
810
+ 1,
811
+ 1,
812
+ null,
813
+ 1,
814
+ null,
815
+ null,
816
+ null,
817
+ null,
818
+ null,
819
+ null,
820
+ null,
821
+ null,
822
+ null
823
+ ],
824
+ "/home/alejandro/GIT/dev-sdk-ruby/TodoPago/SendAuthorizeRequestTest.rb": [
825
+ null,
826
+ 1,
827
+ 1,
828
+ 1,
829
+ null,
830
+ 1,
831
+ null,
832
+ null,
833
+ 1,
834
+ 1,
835
+ null,
836
+ 1,
837
+ null,
838
+ 1,
839
+ 1,
840
+ 1,
841
+ null,
842
+ 1,
843
+ null,
844
+ 1,
845
+ 1,
846
+ 1,
847
+ null,
848
+ 1,
849
+ 1,
850
+ null,
851
+ null,
852
+ null,
853
+ 1,
854
+ null,
855
+ 1,
856
+ 1,
857
+ 1,
858
+ null,
859
+ 1,
860
+ null,
861
+ 1,
862
+ null,
863
+ 1,
864
+ 1,
865
+ null,
866
+ 1,
867
+ null,
868
+ null,
869
+ null,
870
+ 1,
871
+ null,
872
+ 1,
873
+ 1,
874
+ 1,
875
+ null,
876
+ 1,
877
+ null,
878
+ 1,
879
+ 1,
880
+ 1,
881
+ null,
882
+ 1,
883
+ null,
884
+ null,
885
+ null,
886
+ null,
887
+ null
888
+ ]
889
+ },
890
+ "timestamp": 1494881020
891
+ }
892
+ }