appnexusapi 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/README.md +71 -39
- data/appnexusapi.gemspec +1 -2
- data/lib/appnexusapi.rb +21 -10
- data/lib/appnexusapi/configuration.rb +12 -0
- data/lib/appnexusapi/connection.rb +83 -90
- data/lib/appnexusapi/error.rb +3 -0
- data/lib/appnexusapi/faraday/raise_http_error.rb +15 -1
- data/lib/appnexusapi/read_only_service.rb +8 -0
- data/lib/appnexusapi/resource.rb +19 -15
- data/lib/appnexusapi/service.rb +35 -48
- data/lib/appnexusapi/services/ad_server_service.rb +9 -0
- data/lib/appnexusapi/{advertiser_service.rb → services/advertiser_service.rb} +0 -0
- data/lib/appnexusapi/{bidder_instance_service.rb → services/bidder_instance_service.rb} +0 -6
- data/lib/appnexusapi/{bidder_profile_service.rb → services/bidder_profile_service.rb} +0 -6
- data/lib/appnexusapi/{bidder_service.rb → services/bidder_service.rb} +0 -0
- data/lib/appnexusapi/services/brand_service.rb +2 -0
- data/lib/appnexusapi/services/browser_service.rb +2 -0
- data/lib/appnexusapi/{campaign_service.rb → services/campaign_service.rb} +0 -0
- data/lib/appnexusapi/services/category_service.rb +5 -0
- data/lib/appnexusapi/{content_category_service.rb → services/content_category_service.rb} +0 -1
- data/lib/appnexusapi/{creative_service.rb → services/creative_service.rb} +0 -0
- data/lib/appnexusapi/{creative_template_service.rb → services/creative_template_service.rb} +1 -6
- data/lib/appnexusapi/services/device_model_service.rb +2 -0
- data/lib/appnexusapi/{domain_list_service.rb → services/domain_list_service.rb} +0 -0
- data/lib/appnexusapi/services/inventory_attribute_service.rb +2 -0
- data/lib/appnexusapi/{inventory_source_service.rb → services/inventory_source_service.rb} +0 -0
- data/lib/appnexusapi/services/language_service.rb +2 -0
- data/lib/appnexusapi/{line_item_service.rb → services/line_item_service.rb} +0 -0
- data/lib/appnexusapi/services/log_level_data_download_service.rb +13 -0
- data/lib/appnexusapi/services/log_level_data_service.rb +105 -0
- data/lib/appnexusapi/services/media_type_service.rb +2 -0
- data/lib/appnexusapi/{member_service.rb → services/member_service.rb} +0 -0
- data/lib/appnexusapi/{object_limit_service.rb → services/object_limit_service.rb} +0 -0
- data/lib/appnexusapi/{operating_system_extended_service.rb → services/operating_system_extended_service.rb} +1 -6
- data/lib/appnexusapi/services/operating_system_service.rb +2 -0
- data/lib/appnexusapi/{payment_rule_service.rb → services/payment_rule_service.rb} +0 -0
- data/lib/appnexusapi/{placement_service.rb → services/placement_service.rb} +0 -0
- data/lib/appnexusapi/services/platform_member_service.rb +2 -0
- data/lib/appnexusapi/{profile_service.rb → services/profile_service.rb} +0 -0
- data/lib/appnexusapi/{publisher_service.rb → services/publisher_service.rb} +0 -0
- data/lib/appnexusapi/{segment_service.rb → services/segment_service.rb} +0 -2
- data/lib/appnexusapi/{site_service.rb → services/site_service.rb} +0 -0
- data/lib/appnexusapi/services/technical_attribute_service.rb +2 -0
- data/lib/appnexusapi/{tiny_tag_service.rb → services/tiny_tag_service.rb} +0 -6
- data/lib/appnexusapi/{user_service.rb → services/user_service.rb} +0 -0
- data/lib/appnexusapi/version.rb +1 -1
- data/spec/connection_spec.rb +46 -10
- data/spec/fixtures/vcr/content_category_crud.yml +188 -69
- data/spec/fixtures/vcr/log_level_data_service_download.yml +213 -0
- data/spec/integration/content_category_spec.rb +4 -0
- data/spec/{creative_service_spec.rb → integration/creative_service_spec.rb} +0 -0
- data/spec/integration/log_level_data_service_spec.rb +13 -0
- data/spec/{object_limit_service_spec.rb → integration/object_limit_service_spec.rb} +0 -0
- data/spec/integration/placement_spec.rb +0 -1
- data/spec/spec_helper.rb +2 -3
- metadata +52 -94
- data/lib/appnexusapi/ad_server_resource.rb +0 -2
- data/lib/appnexusapi/ad_server_service.rb +0 -20
- data/lib/appnexusapi/advertiser_resource.rb +0 -2
- data/lib/appnexusapi/bidder_instance_resource.rb +0 -2
- data/lib/appnexusapi/bidder_profile_resource.rb +0 -2
- data/lib/appnexusapi/bidder_resource.rb +0 -2
- data/lib/appnexusapi/brand_resource.rb +0 -2
- data/lib/appnexusapi/brand_service.rb +0 -8
- data/lib/appnexusapi/browser_resource.rb +0 -2
- data/lib/appnexusapi/browser_service.rb +0 -8
- data/lib/appnexusapi/campaign_resource.rb +0 -2
- data/lib/appnexusapi/category_resource.rb +0 -2
- data/lib/appnexusapi/category_service.rb +0 -12
- data/lib/appnexusapi/content_category_resource.rb +0 -2
- data/lib/appnexusapi/creative_resource.rb +0 -2
- data/lib/appnexusapi/creative_template_resource.rb +0 -2
- data/lib/appnexusapi/device_model_resource.rb +0 -2
- data/lib/appnexusapi/device_model_service.rb +0 -6
- data/lib/appnexusapi/domain_list_resource.rb +0 -2
- data/lib/appnexusapi/inventory_attribute_resource.rb +0 -2
- data/lib/appnexusapi/inventory_attribute_service.rb +0 -8
- data/lib/appnexusapi/inventory_source_resource.rb +0 -2
- data/lib/appnexusapi/language_resource.rb +0 -2
- data/lib/appnexusapi/language_service.rb +0 -8
- data/lib/appnexusapi/line_item_resource.rb +0 -2
- data/lib/appnexusapi/log_level_data_download_service.rb +0 -68
- data/lib/appnexusapi/log_level_data_resource.rb +0 -19
- data/lib/appnexusapi/log_level_data_service.rb +0 -26
- data/lib/appnexusapi/media_type_resource.rb +0 -2
- data/lib/appnexusapi/media_type_service.rb +0 -8
- data/lib/appnexusapi/member_resource.rb +0 -2
- data/lib/appnexusapi/object_limit_resource.rb +0 -2
- data/lib/appnexusapi/operating_system_extended_resource.rb +0 -2
- data/lib/appnexusapi/operating_system_resource.rb +0 -2
- data/lib/appnexusapi/operating_system_service.rb +0 -8
- data/lib/appnexusapi/payment_rule_resource.rb +0 -2
- data/lib/appnexusapi/placement_resource.rb +0 -2
- data/lib/appnexusapi/platform_member_resource.rb +0 -2
- data/lib/appnexusapi/platform_member_service.rb +0 -8
- data/lib/appnexusapi/profile_resource.rb +0 -2
- data/lib/appnexusapi/publisher_resource.rb +0 -2
- data/lib/appnexusapi/segment_resource.rb +0 -2
- data/lib/appnexusapi/site_resource.rb +0 -2
- data/lib/appnexusapi/technical_attribute_resource.rb +0 -2
- data/lib/appnexusapi/technical_attribute_service.rb +0 -8
- data/lib/appnexusapi/tiny_tag_resource.rb +0 -2
- data/lib/appnexusapi/user_resource.rb +0 -2
@@ -0,0 +1,213 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api-test.appnexus.com/auth
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"auth":{"username":"<APPNEXUS_USERNAME>","password":"<APPNEXUS_PASSWORD>"}}'
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.11.0
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
Accept:
|
17
|
+
- "*/*"
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Cache-Control:
|
24
|
+
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0;no-cache
|
25
|
+
Content-Length:
|
26
|
+
- '699'
|
27
|
+
Content-Type:
|
28
|
+
- application/json
|
29
|
+
Date:
|
30
|
+
- Mon, 13 Feb 2017 10:44:43 GMT
|
31
|
+
Expires:
|
32
|
+
- Thu, 19 Nov 1981 08:52:00 GMT
|
33
|
+
Pragma:
|
34
|
+
- no-cache
|
35
|
+
Server:
|
36
|
+
- Apache
|
37
|
+
Set-Cookie:
|
38
|
+
- HBFAPI_SESSID=hbapi%3A171678%3A58a18e1cdbba5%3Anym2; Path=/
|
39
|
+
X-Route:
|
40
|
+
- "/auth"
|
41
|
+
X-Route-Time:
|
42
|
+
- '1401'
|
43
|
+
body:
|
44
|
+
encoding: UTF-8
|
45
|
+
string: '{"response":{"status":"OK","token":"hbapi:171678:58a18e1cdbba5:nym2","dbg_info":{"instance":"01.hbapi.test104169.nym2","slave_hit":false,"db":"master","parent_dbg_info":{"instance":"01.api.test104169.nym2","slave_hit":false,"db":"master","awesomesauce_cache_used":false,"count_cache_used":false,"uuid":"fd4d53cf-d98b-551c-b92f-151974bb83a5","warnings":[],"time":805.34601211548,"start_microtime":1486982683.7509,"version":"1.17","output_term":"not_found"},"awesomesauce_cache_used":false,"count_cache_used":false,"uuid":"91321b7c-f000-5189-9b8e-33c29c07de20","warnings":[],"time":1388.9429569244,"start_microtime":1486982683.7276,"version":"1.17.202","slave_lag":1464225,"output_term":"not_found"}}}'
|
46
|
+
http_version:
|
47
|
+
recorded_at: Mon, 13 Feb 2017 10:44:43 GMT
|
48
|
+
- request:
|
49
|
+
method: get
|
50
|
+
uri: https://api-test.appnexus.com/siphon?num_elements=100&siphon_name=standard_feed&start_element=0&updated_since=2017_02_13_02
|
51
|
+
body:
|
52
|
+
encoding: US-ASCII
|
53
|
+
string: ''
|
54
|
+
headers:
|
55
|
+
User-Agent:
|
56
|
+
- Faraday v0.11.0
|
57
|
+
Authorization:
|
58
|
+
- hbapi:171678:58a18e1cdbba5:nym2
|
59
|
+
Accept-Encoding:
|
60
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
61
|
+
Accept:
|
62
|
+
- "*/*"
|
63
|
+
response:
|
64
|
+
status:
|
65
|
+
code: 200
|
66
|
+
message: OK
|
67
|
+
headers:
|
68
|
+
Cache-Control:
|
69
|
+
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0;no-cache
|
70
|
+
Content-Length:
|
71
|
+
- '1747'
|
72
|
+
Content-Type:
|
73
|
+
- application/json
|
74
|
+
Date:
|
75
|
+
- Mon, 13 Feb 2017 10:44:45 GMT
|
76
|
+
Expires:
|
77
|
+
- Thu, 19 Nov 1981 08:52:00 GMT
|
78
|
+
Pragma:
|
79
|
+
- no-cache
|
80
|
+
Server:
|
81
|
+
- Apache
|
82
|
+
Set-Cookie:
|
83
|
+
- HBFAPI_SESSID=hbapi%3A171678%3A58a18e1cdbba5%3Anym2; Path=/
|
84
|
+
X-Count-Read:
|
85
|
+
- user:5,member:3,serviceHostUser:1,serviceHostMember:1,hostUser:3,hostMember:3,ip:0
|
86
|
+
X-Count-Write:
|
87
|
+
- user:0,member:0,serviceHostUser:0,serviceHostMember:0,hostUser:0,hostMember:0,ip:0
|
88
|
+
X-Ratelimit-Read:
|
89
|
+
- '1000'
|
90
|
+
X-Ratelimit-Service:
|
91
|
+
- 1000-Default
|
92
|
+
X-Ratelimit-System:
|
93
|
+
- 1000-Default
|
94
|
+
X-Ratelimit-Write:
|
95
|
+
- '1000'
|
96
|
+
X-Route:
|
97
|
+
- "/siphon"
|
98
|
+
X-Route-Time:
|
99
|
+
- '63'
|
100
|
+
body:
|
101
|
+
encoding: UTF-8
|
102
|
+
string: '{"response":{"status":"OK","count":7,"siphons":[{"name":"standard_feed","hour":"2017_02_13_00","timestamp":"20170213020905","splits":[{"part":"0","status":"new","checksum":"cd9006d3382e10588c2efde501f1b115"}]}],"dbg_info":{"instance":"01.hbapi.test104169.nym2","slave_hit":false,"db":"master","user::reads":5,"user::read_limit":1000,"user::read_limit_seconds":60,"user::writes":0,"user::write_limit":1000,"user::write_limit_seconds":60,"reads":3,"read_limit":1000,"read_limit_seconds":60,"writes":0,"write_limit":1000,"write_limit_seconds":60,"awesomesauce_cache_used":false,"count_cache_used":false,"uuid":"33bfe6b3-111f-543d-b500-feaac5fe4aba","warnings":[],"time":53.074836730957,"start_microtime":1486982685.5887,"version":"1.17.202","slave_miss":"no_slaves_found","slave_lag":1464225,"member_last_modified_age":498,"output_term":"not_found"}}}'
|
103
|
+
http_version:
|
104
|
+
recorded_at: Mon, 13 Feb 2017 10:44:43 GMT
|
105
|
+
- request:
|
106
|
+
method: get
|
107
|
+
uri: https://api-test.appnexus.com/siphon-download?hour=2017_02_13_00&siphon_name=standard_feed&split_part=0×tamp=20170213020905
|
108
|
+
body:
|
109
|
+
encoding: US-ASCII
|
110
|
+
string: ''
|
111
|
+
headers:
|
112
|
+
User-Agent:
|
113
|
+
- Faraday v0.11.0
|
114
|
+
Authorization:
|
115
|
+
- hbapi:171678:58a18e1cdbba5:nym2
|
116
|
+
Accept-Encoding:
|
117
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
118
|
+
Accept:
|
119
|
+
- "*/*"
|
120
|
+
response:
|
121
|
+
status:
|
122
|
+
code: 302
|
123
|
+
message: Found
|
124
|
+
headers:
|
125
|
+
Cache-Control:
|
126
|
+
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
127
|
+
Content-Length:
|
128
|
+
- '0'
|
129
|
+
Content-Type:
|
130
|
+
- text/html; charset=UTF-8
|
131
|
+
Date:
|
132
|
+
- Mon, 13 Feb 2017 10:44:46 GMT
|
133
|
+
Expires:
|
134
|
+
- Thu, 19 Nov 1981 08:52:00 GMT
|
135
|
+
Location:
|
136
|
+
- http://data-api-client-testing-even.envnxs.com/siphon-download/p4G75fF1wAzrSMiJ01jDEvYSrsMemSmOEFRseHNI
|
137
|
+
Pragma:
|
138
|
+
- no-cache
|
139
|
+
Server:
|
140
|
+
- Apache
|
141
|
+
Set-Cookie:
|
142
|
+
- HBFAPI_SESSID=hbapi%3A171678%3A58a18e1cdbba5%3Anym2; Path=/
|
143
|
+
X-Count-Read:
|
144
|
+
- user:6,member:4,serviceHostUser:1,serviceHostMember:1,hostUser:4,hostMember:4,ip:0
|
145
|
+
X-Count-Write:
|
146
|
+
- user:0,member:0,serviceHostUser:0,serviceHostMember:0,hostUser:0,hostMember:0,ip:0
|
147
|
+
X-Ratelimit-Read:
|
148
|
+
- '1000'
|
149
|
+
X-Ratelimit-Service:
|
150
|
+
- 1000-Default
|
151
|
+
X-Ratelimit-System:
|
152
|
+
- 1000-Default
|
153
|
+
X-Ratelimit-Write:
|
154
|
+
- '1000'
|
155
|
+
X-Route:
|
156
|
+
- "/siphon-download"
|
157
|
+
X-Route-Time:
|
158
|
+
- '234'
|
159
|
+
body:
|
160
|
+
encoding: UTF-8
|
161
|
+
string: ''
|
162
|
+
http_version:
|
163
|
+
recorded_at: Mon, 13 Feb 2017 10:44:44 GMT
|
164
|
+
- request:
|
165
|
+
method: get
|
166
|
+
uri: http://data-api-client-testing-even.envnxs.com/siphon-download/p4G75fF1wAzrSMiJ01jDEvYSrsMemSmOEFRseHNI
|
167
|
+
body:
|
168
|
+
encoding: US-ASCII
|
169
|
+
string: ''
|
170
|
+
headers:
|
171
|
+
Accept-Encoding:
|
172
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
173
|
+
Accept:
|
174
|
+
- "*/*"
|
175
|
+
User-Agent:
|
176
|
+
- Ruby
|
177
|
+
response:
|
178
|
+
status:
|
179
|
+
code: 200
|
180
|
+
message: OK
|
181
|
+
headers:
|
182
|
+
Date:
|
183
|
+
- Mon, 13 Feb 2017 10:44:46 GMT
|
184
|
+
Content-Disposition:
|
185
|
+
- filename=standard_feed_2017_02_13_00_20170213020905_0.csv.gz
|
186
|
+
Content-Length:
|
187
|
+
- '690'
|
188
|
+
Content-Type:
|
189
|
+
- application/octet-stream
|
190
|
+
Server:
|
191
|
+
- Jetty(7.6.2.v20120308)
|
192
|
+
body:
|
193
|
+
encoding: ASCII-8BIT
|
194
|
+
string: !binary |-
|
195
|
+
H4sIAAAAAAAAA62U224TMRCGr4en4AW8naM90zvUigtUFQlaIXGX5iAqqBI1
|
196
|
+
RRVvz+xmA2nSStA2UeLfXq/t+f3NMFGtwoahpGYk3oCRWkEuJG8Rj7UdU4Vi
|
197
|
+
IIiQE4EA4fpmBS1b7FAjYhjcylEwaMeE+ckRiUH0rxaCaq5OhhzYqpt4BVLv
|
198
|
+
mnbSMfPfDsLlZzi5AKoMnm9nKzW3cKx5yqjZnF+encH98v7bfDLrpssb6Lds
|
199
|
+
QeOTf/jL8+J4zFFommBhgQyhbdiZxVktG9QmGYg5ozCBGDO5eO9FLuAilJHn
|
200
|
+
eMa0s+KD78F+AKsf07FruC/wUNjTj3rLTocfbQf+hgqbK2AopfRXkf8bC2Cc
|
201
|
+
5dUmEyEtmlwUZcUSPNUSE5FKbY5XOAfDvAkXEoLdxfHAWPj5oLfZcHvONw2j
|
202
|
+
Wa4VjaMqtaq6hx7pMcnT6BmTRhvQG2UKVQ1J9CxGV3iLHoMBSdNGqq2pVm/B
|
203
|
+
LglMgqqR5NXO6oMuwsk7+HgOxPnqAGCCbJYp4gii7s4jgPf33c319Ha5Xi7u
|
204
|
+
egyP1nfL2/nRZLVaH8WXr6fnJ5/ef5CLC6iR0WK8Hp3ah1bTx2ysVa45kLlV
|
205
|
+
NfNEwtKNmmJwqWVecPTzM+zn0Jk274lHEDR+GZ2y5cU72srRZtI6neviquhs
|
206
|
+
1oqi1OI8nZYZYU043Rc668NjyUAPcfw/PhlbrtOw1uYDLOZ7fIodC/d8NnaI
|
207
|
+
fTwlq5zwYPwoe05REh3rkEdbVHfwVFfLzbLYeDQKDc91E0XFjli7vNbd7h86
|
208
|
+
pW3oVJKaxamHk4kzQTeRrb//Ws03tTEiC5i/Hny9aYfwWdM0ZISPh0nUSZ94
|
209
|
+
mV7QB/Uc+NLEPfEIYVJfCb6d2jiSZBmYLfL+p25ctC2yLM7Vi7erOZsSLmjI
|
210
|
+
LVF8MXu/AU8TTkuXBwAA
|
211
|
+
http_version:
|
212
|
+
recorded_at: Mon, 13 Feb 2017 10:44:44 GMT
|
213
|
+
recorded_with: VCR 3.0.3
|
@@ -15,6 +15,10 @@ describe AppnexusApi::ContentCategoryService do
|
|
15
15
|
gotten.update({}, name: name_update)
|
16
16
|
expect(ccs.get(id: created.id).first.name).to eq(name_update)
|
17
17
|
|
18
|
+
gotten.raw_json[:name] = name
|
19
|
+
gotten.save
|
20
|
+
expect(ccs.get(id: created.id).first.name).to eq(name)
|
21
|
+
|
18
22
|
gotten.delete({})
|
19
23
|
expect(ccs.get(id: created.id)).to be_nil
|
20
24
|
end
|
File without changes
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe AppnexusApi::LogLevelDataService do
|
4
|
+
after(:each) do
|
5
|
+
system('rm standard_feed_2017_02_13_00_0.gz')
|
6
|
+
end
|
7
|
+
|
8
|
+
it 'downloads new files' do
|
9
|
+
VCR.use_cassette('log_level_data_service_download') do
|
10
|
+
described_class.new(connection).download_new_files_since(Time.new(2017, 2, 13, 2, 2, 2))
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
File without changes
|
data/spec/spec_helper.rb
CHANGED
@@ -16,7 +16,6 @@ module SpecWithConnection
|
|
16
16
|
|
17
17
|
let(:test_logger) { Logger.new('./log/test.log') }
|
18
18
|
let(:connection) { AppnexusApi::Connection.new(connection_params.merge('logger' => test_logger)) }
|
19
|
-
let(:connection_with_null_logger) { AppnexusApi::Connection.new(connection_params) }
|
20
19
|
let(:connection_params) do
|
21
20
|
{
|
22
21
|
'username' => ENV['APPNEXUS_USERNAME'] || 'user',
|
@@ -54,8 +53,8 @@ VCR.configure do |c|
|
|
54
53
|
c.hook_into :webmock
|
55
54
|
|
56
55
|
c.allow_http_connections_when_no_cassette = true
|
57
|
-
c.filter_sensitive_data('<APPNEXUS_USERNAME>')
|
58
|
-
c.filter_sensitive_data('<APPNEXUS_PASSWORD>')
|
56
|
+
c.filter_sensitive_data('<APPNEXUS_USERNAME>') { ENV['APPNEXUS_USERNAME'] || DEFAULT_SPEC_USERNAME }
|
57
|
+
c.filter_sensitive_data('<APPNEXUS_PASSWORD>') { ENV['APPNEXUS_PASSWORD'] || DEFAULT_SPEC_PASSWORD }
|
59
58
|
|
60
59
|
c.default_cassette_options = {
|
61
60
|
match_requests_on: [:method, :uri, :body]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appnexusapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marlon Moyer
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2017-
|
13
|
+
date: 2017-10-03 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: faraday
|
@@ -55,33 +55,19 @@ dependencies:
|
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: '0'
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
|
-
name:
|
58
|
+
name: retriable
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
61
|
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: '0'
|
63
|
+
version: '2.0'
|
64
64
|
type: :runtime
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version: '0'
|
71
|
-
- !ruby/object:Gem::Dependency
|
72
|
-
name: null_logger
|
73
|
-
requirement: !ruby/object:Gem::Requirement
|
74
|
-
requirements:
|
75
|
-
- - ">="
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '0'
|
78
|
-
type: :runtime
|
79
|
-
prerelease: false
|
80
|
-
version_requirements: !ruby/object:Gem::Requirement
|
81
|
-
requirements:
|
82
|
-
- - ">="
|
83
|
-
- !ruby/object:Gem::Version
|
84
|
-
version: '0'
|
70
|
+
version: '2.0'
|
85
71
|
- !ruby/object:Gem::Dependency
|
86
72
|
name: bundler
|
87
73
|
requirement: !ruby/object:Gem::Requirement
|
@@ -175,6 +161,7 @@ extensions: []
|
|
175
161
|
extra_rdoc_files: []
|
176
162
|
files:
|
177
163
|
- ".gitignore"
|
164
|
+
- CHANGELOG.md
|
178
165
|
- Gemfile
|
179
166
|
- LICENSE
|
180
167
|
- README.md
|
@@ -183,83 +170,50 @@ files:
|
|
183
170
|
- appnexusapi.gemspec
|
184
171
|
- env_example
|
185
172
|
- lib/appnexusapi.rb
|
186
|
-
- lib/appnexusapi/
|
187
|
-
- lib/appnexusapi/ad_server_service.rb
|
188
|
-
- lib/appnexusapi/advertiser_resource.rb
|
189
|
-
- lib/appnexusapi/advertiser_service.rb
|
190
|
-
- lib/appnexusapi/bidder_instance_resource.rb
|
191
|
-
- lib/appnexusapi/bidder_instance_service.rb
|
192
|
-
- lib/appnexusapi/bidder_profile_resource.rb
|
193
|
-
- lib/appnexusapi/bidder_profile_service.rb
|
194
|
-
- lib/appnexusapi/bidder_resource.rb
|
195
|
-
- lib/appnexusapi/bidder_service.rb
|
196
|
-
- lib/appnexusapi/brand_resource.rb
|
197
|
-
- lib/appnexusapi/brand_service.rb
|
198
|
-
- lib/appnexusapi/browser_resource.rb
|
199
|
-
- lib/appnexusapi/browser_service.rb
|
200
|
-
- lib/appnexusapi/campaign_resource.rb
|
201
|
-
- lib/appnexusapi/campaign_service.rb
|
202
|
-
- lib/appnexusapi/category_resource.rb
|
203
|
-
- lib/appnexusapi/category_service.rb
|
173
|
+
- lib/appnexusapi/configuration.rb
|
204
174
|
- lib/appnexusapi/connection.rb
|
205
|
-
- lib/appnexusapi/content_category_resource.rb
|
206
|
-
- lib/appnexusapi/content_category_service.rb
|
207
|
-
- lib/appnexusapi/creative_resource.rb
|
208
|
-
- lib/appnexusapi/creative_service.rb
|
209
|
-
- lib/appnexusapi/creative_template_resource.rb
|
210
|
-
- lib/appnexusapi/creative_template_service.rb
|
211
|
-
- lib/appnexusapi/device_model_resource.rb
|
212
|
-
- lib/appnexusapi/device_model_service.rb
|
213
|
-
- lib/appnexusapi/domain_list_resource.rb
|
214
|
-
- lib/appnexusapi/domain_list_service.rb
|
215
175
|
- lib/appnexusapi/error.rb
|
216
176
|
- lib/appnexusapi/faraday/raise_http_error.rb
|
217
|
-
- lib/appnexusapi/
|
218
|
-
- lib/appnexusapi/inventory_attribute_service.rb
|
219
|
-
- lib/appnexusapi/inventory_source_resource.rb
|
220
|
-
- lib/appnexusapi/inventory_source_service.rb
|
221
|
-
- lib/appnexusapi/language_resource.rb
|
222
|
-
- lib/appnexusapi/language_service.rb
|
223
|
-
- lib/appnexusapi/line_item_resource.rb
|
224
|
-
- lib/appnexusapi/line_item_service.rb
|
225
|
-
- lib/appnexusapi/log_level_data_download_service.rb
|
226
|
-
- lib/appnexusapi/log_level_data_resource.rb
|
227
|
-
- lib/appnexusapi/log_level_data_service.rb
|
228
|
-
- lib/appnexusapi/media_type_resource.rb
|
229
|
-
- lib/appnexusapi/media_type_service.rb
|
230
|
-
- lib/appnexusapi/member_resource.rb
|
231
|
-
- lib/appnexusapi/member_service.rb
|
232
|
-
- lib/appnexusapi/object_limit_resource.rb
|
233
|
-
- lib/appnexusapi/object_limit_service.rb
|
234
|
-
- lib/appnexusapi/operating_system_extended_resource.rb
|
235
|
-
- lib/appnexusapi/operating_system_extended_service.rb
|
236
|
-
- lib/appnexusapi/operating_system_resource.rb
|
237
|
-
- lib/appnexusapi/operating_system_service.rb
|
238
|
-
- lib/appnexusapi/payment_rule_resource.rb
|
239
|
-
- lib/appnexusapi/payment_rule_service.rb
|
240
|
-
- lib/appnexusapi/placement_resource.rb
|
241
|
-
- lib/appnexusapi/placement_service.rb
|
242
|
-
- lib/appnexusapi/platform_member_resource.rb
|
243
|
-
- lib/appnexusapi/platform_member_service.rb
|
244
|
-
- lib/appnexusapi/profile_resource.rb
|
245
|
-
- lib/appnexusapi/profile_service.rb
|
246
|
-
- lib/appnexusapi/publisher_resource.rb
|
247
|
-
- lib/appnexusapi/publisher_service.rb
|
177
|
+
- lib/appnexusapi/read_only_service.rb
|
248
178
|
- lib/appnexusapi/resource.rb
|
249
|
-
- lib/appnexusapi/segment_resource.rb
|
250
|
-
- lib/appnexusapi/segment_service.rb
|
251
179
|
- lib/appnexusapi/service.rb
|
252
|
-
- lib/appnexusapi/
|
253
|
-
- lib/appnexusapi/
|
254
|
-
- lib/appnexusapi/
|
255
|
-
- lib/appnexusapi/
|
256
|
-
- lib/appnexusapi/
|
257
|
-
- lib/appnexusapi/
|
258
|
-
- lib/appnexusapi/
|
259
|
-
- lib/appnexusapi/
|
180
|
+
- lib/appnexusapi/services/ad_server_service.rb
|
181
|
+
- lib/appnexusapi/services/advertiser_service.rb
|
182
|
+
- lib/appnexusapi/services/bidder_instance_service.rb
|
183
|
+
- lib/appnexusapi/services/bidder_profile_service.rb
|
184
|
+
- lib/appnexusapi/services/bidder_service.rb
|
185
|
+
- lib/appnexusapi/services/brand_service.rb
|
186
|
+
- lib/appnexusapi/services/browser_service.rb
|
187
|
+
- lib/appnexusapi/services/campaign_service.rb
|
188
|
+
- lib/appnexusapi/services/category_service.rb
|
189
|
+
- lib/appnexusapi/services/content_category_service.rb
|
190
|
+
- lib/appnexusapi/services/creative_service.rb
|
191
|
+
- lib/appnexusapi/services/creative_template_service.rb
|
192
|
+
- lib/appnexusapi/services/device_model_service.rb
|
193
|
+
- lib/appnexusapi/services/domain_list_service.rb
|
194
|
+
- lib/appnexusapi/services/inventory_attribute_service.rb
|
195
|
+
- lib/appnexusapi/services/inventory_source_service.rb
|
196
|
+
- lib/appnexusapi/services/language_service.rb
|
197
|
+
- lib/appnexusapi/services/line_item_service.rb
|
198
|
+
- lib/appnexusapi/services/log_level_data_download_service.rb
|
199
|
+
- lib/appnexusapi/services/log_level_data_service.rb
|
200
|
+
- lib/appnexusapi/services/media_type_service.rb
|
201
|
+
- lib/appnexusapi/services/member_service.rb
|
202
|
+
- lib/appnexusapi/services/object_limit_service.rb
|
203
|
+
- lib/appnexusapi/services/operating_system_extended_service.rb
|
204
|
+
- lib/appnexusapi/services/operating_system_service.rb
|
205
|
+
- lib/appnexusapi/services/payment_rule_service.rb
|
206
|
+
- lib/appnexusapi/services/placement_service.rb
|
207
|
+
- lib/appnexusapi/services/platform_member_service.rb
|
208
|
+
- lib/appnexusapi/services/profile_service.rb
|
209
|
+
- lib/appnexusapi/services/publisher_service.rb
|
210
|
+
- lib/appnexusapi/services/segment_service.rb
|
211
|
+
- lib/appnexusapi/services/site_service.rb
|
212
|
+
- lib/appnexusapi/services/technical_attribute_service.rb
|
213
|
+
- lib/appnexusapi/services/tiny_tag_service.rb
|
214
|
+
- lib/appnexusapi/services/user_service.rb
|
260
215
|
- lib/appnexusapi/version.rb
|
261
216
|
- spec/connection_spec.rb
|
262
|
-
- spec/creative_service_spec.rb
|
263
217
|
- spec/fixtures/vcr/advertiser_get.yml
|
264
218
|
- spec/fixtures/vcr/campaign_life_cycle.yml
|
265
219
|
- spec/fixtures/vcr/content_category_crud.yml
|
@@ -269,6 +223,7 @@ files:
|
|
269
223
|
- spec/fixtures/vcr/creative_service_update.yml
|
270
224
|
- spec/fixtures/vcr/domain_list_limits.yml
|
271
225
|
- spec/fixtures/vcr/line_item_life_cycle.yml
|
226
|
+
- spec/fixtures/vcr/log_level_data_service_download.yml
|
272
227
|
- spec/fixtures/vcr/member_get.yml
|
273
228
|
- spec/fixtures/vcr/object_limit_info.yml
|
274
229
|
- spec/fixtures/vcr/payment_rule_lifecycle.yml
|
@@ -282,15 +237,17 @@ files:
|
|
282
237
|
- spec/integration/advertiser_spec.rb
|
283
238
|
- spec/integration/campaign_spec.rb
|
284
239
|
- spec/integration/content_category_spec.rb
|
240
|
+
- spec/integration/creative_service_spec.rb
|
285
241
|
- spec/integration/line_item_spec.rb
|
242
|
+
- spec/integration/log_level_data_service_spec.rb
|
286
243
|
- spec/integration/member_spec.rb
|
244
|
+
- spec/integration/object_limit_service_spec.rb
|
287
245
|
- spec/integration/payment_rule_spec.rb
|
288
246
|
- spec/integration/placement_spec.rb
|
289
247
|
- spec/integration/profile_spec.rb
|
290
248
|
- spec/integration/publisher_spec.rb
|
291
249
|
- spec/integration/site_spec.rb
|
292
250
|
- spec/integration/user_spec.rb
|
293
|
-
- spec/object_limit_service_spec.rb
|
294
251
|
- spec/spec_helper.rb
|
295
252
|
- spec/support/shared_contexts.rb
|
296
253
|
homepage: https://github.com/simplifi/appnexusapi
|
@@ -312,13 +269,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
312
269
|
version: '0'
|
313
270
|
requirements: []
|
314
271
|
rubyforge_project:
|
315
|
-
rubygems_version: 2.2.
|
272
|
+
rubygems_version: 2.2.5
|
316
273
|
signing_key:
|
317
274
|
specification_version: 4
|
318
275
|
summary: Unofficial Ruby API Wrapper for Appnexus
|
319
276
|
test_files:
|
320
277
|
- spec/connection_spec.rb
|
321
|
-
- spec/creative_service_spec.rb
|
322
278
|
- spec/fixtures/vcr/advertiser_get.yml
|
323
279
|
- spec/fixtures/vcr/campaign_life_cycle.yml
|
324
280
|
- spec/fixtures/vcr/content_category_crud.yml
|
@@ -328,6 +284,7 @@ test_files:
|
|
328
284
|
- spec/fixtures/vcr/creative_service_update.yml
|
329
285
|
- spec/fixtures/vcr/domain_list_limits.yml
|
330
286
|
- spec/fixtures/vcr/line_item_life_cycle.yml
|
287
|
+
- spec/fixtures/vcr/log_level_data_service_download.yml
|
331
288
|
- spec/fixtures/vcr/member_get.yml
|
332
289
|
- spec/fixtures/vcr/object_limit_info.yml
|
333
290
|
- spec/fixtures/vcr/payment_rule_lifecycle.yml
|
@@ -341,15 +298,16 @@ test_files:
|
|
341
298
|
- spec/integration/advertiser_spec.rb
|
342
299
|
- spec/integration/campaign_spec.rb
|
343
300
|
- spec/integration/content_category_spec.rb
|
301
|
+
- spec/integration/creative_service_spec.rb
|
344
302
|
- spec/integration/line_item_spec.rb
|
303
|
+
- spec/integration/log_level_data_service_spec.rb
|
345
304
|
- spec/integration/member_spec.rb
|
305
|
+
- spec/integration/object_limit_service_spec.rb
|
346
306
|
- spec/integration/payment_rule_spec.rb
|
347
307
|
- spec/integration/placement_spec.rb
|
348
308
|
- spec/integration/profile_spec.rb
|
349
309
|
- spec/integration/publisher_spec.rb
|
350
310
|
- spec/integration/site_spec.rb
|
351
311
|
- spec/integration/user_spec.rb
|
352
|
-
- spec/object_limit_service_spec.rb
|
353
312
|
- spec/spec_helper.rb
|
354
313
|
- spec/support/shared_contexts.rb
|
355
|
-
has_rdoc:
|