cb-api 0.1.20 → 0.1.21

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.
@@ -13,13 +13,10 @@ module Cb
13
13
 
14
14
  my_api = Cb::Utils::Api.new()
15
15
  xml_hash = my_api.cb_post(Cb.configuration.uri_application_external, :body => app.to_xml)
16
- my_api.append_api_responses(app, xml_hash["ResponseExternalApplication"])
17
- puts xml_hash
16
+ my_api.append_api_responses(app, xml_hash)
18
17
 
19
18
  begin
20
- unless xml_hash["ResponseExternalApplication"].nil?
21
- app.apply_url = xml_hash["ResponseExternalApplication"]["ApplyUrl"] || ''
22
- end
19
+ app.apply_url = xml_hash["ApplyUrl"] || ''
23
20
  end
24
21
 
25
22
  return app
data/lib/cb/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Cb
2
- VERSION = '0.1.20'
2
+ VERSION = '0.1.21'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cb-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.20
4
+ version: 0.1.21
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: