cb-api 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YTE2NjEzMzI5ZGJmNGNiYmU2NWZkZDNkOGMxMDQ2ZWViNDI2NTk3MA==
4
+ NWEzNDA1ZDlkYjI4ZmIzMzk1OGJlNDExZmU3NjZiNTlmZjBkOGQwMw==
5
5
  data.tar.gz: !binary |-
6
- M2U4NzU4ZDBmNzg5YmMzY2M4MmFhODVjZDc5ZDhiOGEyOWY1NDM3MA==
6
+ YmEwMjZjMzhhNDhmNmJiOTNkMzg3ZWYwM2QxYWNmNzQyYTFiNTAwYw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZTVjZWMxNjY0MjViZDM5YTk3ODAyZDY3N2UyNDgzMTgxOGQwY2NkMmZlNzc3
10
- ZDA0OTE5NjUxOWFhNDRiYWQ0YTk2MmU2ODA5YWQwOTlhYjJhNzY1NjVmZjVi
11
- ZDExZDgwYjkzN2FlZjdkMjg2NDBkYTM3M2U2YmI0N2IyNGZlYjE=
9
+ NDNiNzgxY2I5ZjgyMmJiY2FmZDRkMzBlOGM4NzFkNWUxOGVhZjU1ODExNTc1
10
+ M2MzYjY4NmI2OTdiMGZiM2FkYzU3ZmUzNWJjN2M4ZGY1NDQ5NmE5OTQ5NGY2
11
+ NzA3MThjYmRjODMxYzU4ZjE3Y2MwZmVkMjVhZDExNGUyNjQ1NTY=
12
12
  data.tar.gz: !binary |-
13
- YjZkNTNkYTcwYjEyMWRjYTk1MTczMzVlMDY0YmNlYjg5Nzk0Y2U3MDcwMTk1
14
- MWY5YTY2MmU2YjQ3NjgwYTIwZDE1MzIxMjU3ZjNmZTZiYjVjZWU2NGI0NGE3
15
- ZmE1NWU2NTZiMjc3OWE0YzkwYTFmOTcwNTc5NjEyMmQ1ZDVhMGY=
13
+ NDU0ZjA2ZjgyZjNkYjczOTAxNjQ5ZTRiYjA2YzBiNzg1YWZlY2VlMWQ5OTUw
14
+ ZjllZDY5MzdhNGVmZjNlZmZkZmI0ZDlhYWMzOTNiZjA5MjQzZjc0YWVjZDY4
15
+ ZGIzMDU2MjIzYzg5MmFjYTFkOThmMTVmNjU4ODQyMGQ2ZWY4MmE=
@@ -4,7 +4,7 @@ module Cb
4
4
  args = args[0] if args.is_a?(Array) && args.count == 1
5
5
  my_api = Cb::Utils::Api.new
6
6
 
7
- json_hash = my_api.cb_post Cb.configuration.uri_anon_saved_search_create, :body => CbSavedSearch.new(args).create_to_xml
7
+ json_hash = my_api.cb_post Cb.configuration.uri_anon_saved_search_create, :body => CbSavedSearch.new(args).create_anon_to_xml
8
8
 
9
9
  if json_hash.has_key? 'AnonymousSavedSearch'
10
10
  json_hash['AnonymousSavedSearch']['ExternalID'] = json_hash['ExternalID']
@@ -124,12 +124,10 @@ module Cb
124
124
  ret = "<Request>"
125
125
  ret += "<HostSite>#{@hostsite}</HostSite>"
126
126
  ret += "<Cobrand>#{@cobrand}</Cobrand>"
127
- unless @email_address.nil?
128
- ret += "<BrowserID>#{@browser_id}</BrowserID>"
129
- ret += "<SessionID>#{@session_id}</SessionID>"
130
- ret += "<Test>#{@test}</Test>"
131
- ret += "<EmailAddress>#{@email_address}</EmailAddress>"
132
- end
127
+ ret += "<BrowserID>#{@browser_id}</BrowserID>"
128
+ ret += "<SessionID>#{@session_id}</SessionID>"
129
+ ret += "<Test>#{@test}</Test>"
130
+ ret += "<EmailAddress>#{@email_address}</EmailAddress>"
133
131
  ret += "<SearchName>#{@search_name}</SearchName>"
134
132
  ret += "<SearchParameters>"
135
133
  ret += "<BooleanOperator>#{@boolean_operator}</BooleanOperator>"
@@ -156,9 +154,6 @@ module Cb
156
154
  ret += "<State>#{@state}</State>"
157
155
  ret += "</SearchParameters>"
158
156
  ret += "<IsDailyEmail>#{@is_daily_email.upcase}</IsDailyEmail>"
159
- unless @email_address.nil?
160
- ret += "<ExternalUserID>#{@external_user_id}</ExternalUserID>"
161
- end
162
157
  ret += "<DeveloperKey>#{@dev_key}</DeveloperKey>"
163
158
  ret += "</Request>"
164
159
 
@@ -1,3 +1,3 @@
1
1
  module Cb
2
- VERSION = '0.3.2'
2
+ VERSION = '0.3.3'
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.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jesse Retchko
@@ -18,7 +18,7 @@ authors:
18
18
  autorequire:
19
19
  bindir: bin
20
20
  cert_chain: []
21
- date: 2013-09-25 00:00:00.000000000 Z
21
+ date: 2013-09-26 00:00:00.000000000 Z
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
24
24
  name: httparty