aggcat 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/aggcat/client.rb +3 -3
- data/lib/aggcat/version.rb +1 -1
- metadata +2 -2
data/lib/aggcat/client.rb
CHANGED
@@ -28,7 +28,7 @@ module Aggcat
|
|
28
28
|
|
29
29
|
def account_confirmation(institution_id, challenge_session_id, challenge_node_id, answer)
|
30
30
|
validate(institution_id: institution_id, challenge_node_id: challenge_session_id, challenge_node_id: challenge_node_id, answer: answer)
|
31
|
-
headers = {challengeSessionId
|
31
|
+
headers = {'challengeSessionId' => challenge_session_id, 'challengeNodeId' => challenge_node_id}
|
32
32
|
post("/institutions/#{institution_id}/logins", challenge_answer(answer), headers)
|
33
33
|
end
|
34
34
|
|
@@ -145,9 +145,9 @@ module Aggcat
|
|
145
145
|
|
146
146
|
def challenge_answer(answer)
|
147
147
|
xml = Builder::XmlMarkup.new
|
148
|
-
xml.InstitutionLogin('xmlns
|
148
|
+
xml.InstitutionLogin('xmlns' => LOGIN_NAMESPACE) do |login|
|
149
149
|
login.challengeResponses do |challenge|
|
150
|
-
challenge.response(answer, 'xmlns
|
150
|
+
challenge.response(answer, 'xmlns' => CHALLENGE_NAMESPACE)
|
151
151
|
end
|
152
152
|
end
|
153
153
|
end
|
data/lib/aggcat/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aggcat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
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-05-
|
12
|
+
date: 2013-05-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: oauth
|