aggcat 0.2.4 → 0.2.5

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.
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: challenge_session_id, challengeNodeId: challenge_node_id}
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:v1' => LOGIN_NAMESPACE) do |login|
148
+ xml.InstitutionLogin('xmlns' => LOGIN_NAMESPACE) do |login|
149
149
  login.challengeResponses do |challenge|
150
- challenge.response(answer, 'xmlns:v11' => CHALLENGE_NAMESPACE)
150
+ challenge.response(answer, 'xmlns' => CHALLENGE_NAMESPACE)
151
151
  end
152
152
  end
153
153
  end
@@ -1,3 +1,3 @@
1
1
  module Aggcat
2
- VERSION = '0.2.4'
2
+ VERSION = '0.2.5'
3
3
  end
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
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-07 00:00:00.000000000 Z
12
+ date: 2013-05-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: oauth