cb-api 11.3.1 → 12.0.0

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.
@@ -77,7 +77,7 @@ module Cb
77
77
  @uri_tn_join_form_geo ||= '/tn/JoinForm/Geo'
78
78
  @uri_tn_join_form_branding ||= '/talentnetwork/config/layout/branding'
79
79
  @uri_tn_member_create ||= '/talentnetwork/member/create'
80
- @uri_subscription_retrieve ||= '/v1/user/subscription/retrieve'
80
+ @uri_subscription_retrieve ||= '/v1/user/subscription/retrieve?version=v2'
81
81
  @uri_subscription_modify ||= '/v1/user/subscription?version=v2'
82
82
  @uri_saved_job_search_create ||= '/v2/savedsearch/create'
83
83
  @uri_spot_retrieve ||= '/v2/spot/load'
@@ -1,3 +1,3 @@
1
1
  module Cb
2
- VERSION = '11.3.1'
2
+ VERSION = '12.0.0'
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: 11.3.1
4
+ version: 12.0.0
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: 2014-08-18 00:00:00.000000000 Z
12
+ date: 2014-08-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty
@@ -333,7 +333,6 @@ files:
333
333
  - lib/cb/clients/talent_network.rb
334
334
  - lib/cb/clients/anon_saved_search.rb
335
335
  - lib/cb/clients/spot.rb
336
- - lib/cb/clients/email_subscription.rb
337
336
  - lib/cb/client.rb
338
337
  - lib/cb/utils/response_array_extractor.rb
339
338
  - lib/cb/utils/country.rb
@@ -1,19 +0,0 @@
1
- require 'json'
2
-
3
- module Cb
4
- module Clients
5
- class EmailSubscription
6
-
7
- def self.retrieve_by_did(did, host_site = '')
8
- my_api = Cb::Utils::Api.instance
9
- json_hash = my_api.cb_get(Cb.configuration.uri_subscription_retrieve, :query => {:ExternalID => did, :Hostsite => host_site})
10
-
11
- if json_hash.has_key?('SubscriptionValues') && !json_hash['SubscriptionValues'].nil?
12
- subscription = Models::EmailSubscription.new(json_hash['SubscriptionValues'])
13
- my_api.append_api_responses(subscription, json_hash['SubscriptionValues'])
14
- end
15
- my_api.append_api_responses(subscription, json_hash)
16
- end
17
- end
18
- end
19
- end