synapse_pay 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/VERSION +1 -1
- data/lib/synapse_pay/endpoints/bank_mfa_device_endpoint.rb +7 -1
- data/lib/synapse_pay/endpoints/bank_mfa_questions_endpoint.rb +7 -1
- data/lib/synapse_pay/resources/bank_mfa_device.rb +7 -1
- data/lib/synapse_pay/resources/bank_mfa_questions.rb +7 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58d826e28867b5183c158da1c49e8c9f3c5cde5a
|
4
|
+
data.tar.gz: 425eccf2346dc38e3c146644ea508a30e1e57393
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84e58c1ae20810ff996ea2c97f97b365a1c102dd514a01e9a3a163d0460488664dd79b16985c33bcc84f17af6fa0924f17be0f963dfae2695940ef1ec4895c66
|
7
|
+
data.tar.gz: 110c7222916a4a8cb5b0e33ba016f8e3a3694ee31bf56e5aab97c9aaba9e3fb44e46f87216062ac292955beb937c9c9d4c2164fadb494f2e9a3b46265082607d
|
data/README.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.8
|
@@ -9,7 +9,13 @@ module SynapsePay
|
|
9
9
|
}, params)
|
10
10
|
method = APIMethod.new(:post, "/bank/mfa", params, headers, self)
|
11
11
|
json = @client.execute(method)
|
12
|
-
|
12
|
+
if(json[:is_mfa] && json[:response][:type] == "questions")
|
13
|
+
BankMfaQuestions.new(json[:response], method, @client)
|
14
|
+
elsif(json[:is_mfa] && json[:response][:type] == "device")
|
15
|
+
BankMfaDevice.new(json[:response], method, @client)
|
16
|
+
else
|
17
|
+
APIList.new(:Bank, json[:banks], method, @client)
|
18
|
+
end
|
13
19
|
end
|
14
20
|
|
15
21
|
end
|
@@ -9,7 +9,13 @@ module SynapsePay
|
|
9
9
|
}, params)
|
10
10
|
method = APIMethod.new(:post, "/bank/mfa", params, headers, self)
|
11
11
|
json = @client.execute(method)
|
12
|
-
|
12
|
+
if(json[:is_mfa] && json[:response][:type] == "questions")
|
13
|
+
BankMfaQuestions.new(json[:response], method, @client)
|
14
|
+
elsif(json[:is_mfa] && json[:response][:type] == "device")
|
15
|
+
BankMfaDevice.new(json[:response], method, @client)
|
16
|
+
else
|
17
|
+
APIList.new(:Bank, json[:banks], method, @client)
|
18
|
+
end
|
13
19
|
end
|
14
20
|
|
15
21
|
end
|
@@ -16,7 +16,13 @@ module SynapsePay
|
|
16
16
|
}, params)
|
17
17
|
method = APIMethod.new(:post, "/bank/mfa", params, headers, self)
|
18
18
|
json = @client.execute(method)
|
19
|
-
|
19
|
+
if(json[:is_mfa] && json[:response][:type] == "questions")
|
20
|
+
BankMfaQuestions.new(json[:response], method, @client)
|
21
|
+
elsif(json[:is_mfa] && json[:response][:type] == "device")
|
22
|
+
BankMfaDevice.new(json[:response], method, @client)
|
23
|
+
else
|
24
|
+
APIList.new(:Bank, json[:banks], method, @client)
|
25
|
+
end
|
20
26
|
end
|
21
27
|
|
22
28
|
# Everything below here is used behind the scenes.
|
@@ -14,7 +14,13 @@ module SynapsePay
|
|
14
14
|
}, params)
|
15
15
|
method = APIMethod.new(:post, "/bank/mfa", params, headers, self)
|
16
16
|
json = @client.execute(method)
|
17
|
-
|
17
|
+
if(json[:is_mfa] && json[:response][:type] == "questions")
|
18
|
+
BankMfaQuestions.new(json[:response], method, @client)
|
19
|
+
elsif(json[:is_mfa] && json[:response][:type] == "device")
|
20
|
+
BankMfaDevice.new(json[:response], method, @client)
|
21
|
+
else
|
22
|
+
APIList.new(:Bank, json[:banks], method, @client)
|
23
|
+
end
|
18
24
|
end
|
19
25
|
|
20
26
|
# Everything below here is used behind the scenes.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: synapse_pay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Apibits.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -205,7 +205,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
205
205
|
version: '0'
|
206
206
|
requirements: []
|
207
207
|
rubyforge_project:
|
208
|
-
rubygems_version: 2.
|
208
|
+
rubygems_version: 2.2.2
|
209
209
|
signing_key:
|
210
210
|
specification_version: 4
|
211
211
|
summary: Ruby bindings for SynapsePay API
|