eucalyptus 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/spec/spec_helper.rb CHANGED
@@ -1,22 +1,6 @@
1
1
  require 'dotenv'
2
2
  Dotenv.load
3
3
 
4
- require 'simplecov'
5
-
6
- module SimpleCov::Configuration
7
- def clean_filters
8
- @filters = []
9
- end
10
- end
11
-
12
- SimpleCov.configure do
13
- clean_filters
14
- load_adapter 'test_frameworks'
15
- end
16
-
17
- ENV["COVERAGE"] && SimpleCov.start do
18
- add_filter "/.rvm/"
19
- end
20
4
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
21
5
  $LOAD_PATH.unshift(File.dirname(__FILE__))
22
6
 
@@ -29,7 +13,7 @@ require 'pry'
29
13
  VCR.configure do |config|
30
14
  config.cassette_library_dir = "fixtures/vcr_cassettes"
31
15
  config.hook_into :webmock
32
- config.default_cassette_options = {record: :all}
16
+ config.default_cassette_options = {record: :new_episodes}
33
17
  config.filter_sensitive_data('<TOKEN>') { ENV['ACCESS_TOKEN'] }
34
18
  end
35
19
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eucalyptus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oguz Huner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-16 00:00:00.000000000 Z
11
+ date: 2015-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: koala
@@ -94,20 +94,6 @@ dependencies:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: 2.0.1
97
- - !ruby/object:Gem::Dependency
98
- name: simplecov
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
97
  - !ruby/object:Gem::Dependency
112
98
  name: pry
113
99
  requirement: !ruby/object:Gem::Requirement
@@ -159,7 +145,6 @@ extra_rdoc_files:
159
145
  - README.md
160
146
  files:
161
147
  - ".document"
162
- - ".env"
163
148
  - ".rspec"
164
149
  - Gemfile
165
150
  - Gemfile.lock
@@ -168,20 +153,21 @@ files:
168
153
  - Rakefile
169
154
  - VERSION
170
155
  - eucalyptus.gemspec
171
- - fixtures/vcr_cassettes/account_ad_sets.yml
172
- - fixtures/vcr_cassettes/account_ads.yml
173
- - fixtures/vcr_cassettes/account_campaigns.yml
174
- - fixtures/vcr_cassettes/test2.yml
175
156
  - lib/eucalyptus.rb
176
157
  - lib/eucalyptus/account.rb
177
158
  - lib/eucalyptus/ad.rb
178
159
  - lib/eucalyptus/ad_set.rb
179
160
  - lib/eucalyptus/campaign.rb
180
161
  - lib/eucalyptus/custom_audience.rb
162
+ - lib/eucalyptus/insight.rb
181
163
  - lib/eucalyptus/resource.rb
182
164
  - lib/eucalyptus/response.rb
183
165
  - spec/eucalyptus/account_spec.rb
166
+ - spec/eucalyptus/ad_set_spec.rb
167
+ - spec/eucalyptus/ad_spec.rb
168
+ - spec/eucalyptus/campaign_spec.rb
184
169
  - spec/eucalyptus/custom_audience_spec.rb
170
+ - spec/eucalyptus/insight_spec.rb
185
171
  - spec/eucalyptus/resource_spec.rb
186
172
  - spec/eucalyptus_spec.rb
187
173
  - spec/spec_helper.rb
data/.env DELETED
@@ -1 +0,0 @@
1
- ACCESS_TOKEN=CAAT2zroqzZBgBAGZAPGRB4nnNOsOeskFd8wCn82iqgCLjf66ZBY6KsaJ8QL9NoHUGSkagizo2hZAw0hg6BtPiZC1zQUPhbezboBODBJZA1YVYtHbv0ZB5Fx992elxUizs6JzKBf6ZC3nOoE11Ft5wfbgNjfyeAx1W2GqRVWzExhHaaqJNZATrIqKvZBMFWNUJKCeBpgRbEcdaa4t39g4DAiAzG
@@ -1,256 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://graph.facebook.com/v2.3/act_330410070/adgroups?access_token=<TOKEN>
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - Faraday v0.9.1
12
- Accept-Encoding:
13
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
- Accept:
15
- - "*/*"
16
- response:
17
- status:
18
- code: 200
19
- message: OK
20
- headers:
21
- Access-Control-Allow-Origin:
22
- - "*"
23
- Content-Type:
24
- - application/json; charset=UTF-8
25
- X-Fb-Trace-Id:
26
- - FWsZCOLTzTU
27
- X-Fb-Rev:
28
- - '1786490'
29
- Etag:
30
- - '"85ebdf05ed9fd10b5695834881f49f597c5265b6"'
31
- Pragma:
32
- - no-cache
33
- Cache-Control:
34
- - private, no-cache, no-store, must-revalidate
35
- Facebook-Api-Version:
36
- - v2.3
37
- Expires:
38
- - Sat, 01 Jan 2000 00:00:00 GMT
39
- Vary:
40
- - Accept-Encoding
41
- X-Fb-Debug:
42
- - axOOU6cWEu5EZG2gv5k4xupgx6bhnXKB3N5fwlYmyaP0c7PpgizOBVF4d3Rzlr0EUV0L27UWFn2NYJVhO5exMw==
43
- Date:
44
- - Mon, 15 Jun 2015 18:14:10 GMT
45
- Connection:
46
- - keep-alive
47
- Content-Length:
48
- - '526'
49
- body:
50
- encoding: UTF-8
51
- string: '{"data":[{"id":"6025433555071"},{"id":"6025433765271"},{"id":"6025526303471"},{"id":"6025526321871"},{"id":"6025396551671"},{"id":"6025352670471"},{"id":"6025611509471"},{"id":"6025615327871"},{"id":"6025122270071"},{"id":"6025622524871"},{"id":"6025621391271"},{"id":"6025433764471"},{"id":"6025621319071"},{"id":"6025620897271"},{"id":"6025433769871"},{"id":"6025620875871"},{"id":"6025620341871"},{"id":"6025620304871"},{"id":"6025616608471"},{"id":"6025615296471"},{"id":"6025615366671"},{"id":"6025352667271"},{"id":"6025615366871"},{"id":"6025279133071"},{"id":"6025396552871"}],"paging":{"cursors":{"before":"NjAyNTQzMzU1NTA3MQ==","after":"NjAyNTM5NjU1Mjg3MQ=="},"next":"https:\/\/graph.facebook.com\/v2.3\/act_330410070\/adgroups?access_token=<TOKEN>&limit=25&after=NjAyNTM5NjU1Mjg3MQ\u00253D\u00253D"}}'
52
- http_version:
53
- recorded_at: Mon, 15 Jun 2015 18:14:10 GMT
54
- - request:
55
- method: get
56
- uri: https://graph.facebook.com/v2.3/act_330410070/adgroups?access_token=<TOKEN>
57
- body:
58
- encoding: US-ASCII
59
- string: ''
60
- headers:
61
- User-Agent:
62
- - Faraday v0.9.1
63
- Accept-Encoding:
64
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
65
- Accept:
66
- - "*/*"
67
- response:
68
- status:
69
- code: 200
70
- message: OK
71
- headers:
72
- Access-Control-Allow-Origin:
73
- - "*"
74
- Content-Type:
75
- - application/json; charset=UTF-8
76
- X-Fb-Trace-Id:
77
- - Gh0LwN5izqs
78
- X-Fb-Rev:
79
- - '1786490'
80
- Etag:
81
- - '"85ebdf05ed9fd10b5695834881f49f597c5265b6"'
82
- Pragma:
83
- - no-cache
84
- Cache-Control:
85
- - private, no-cache, no-store, must-revalidate
86
- Facebook-Api-Version:
87
- - v2.3
88
- Expires:
89
- - Sat, 01 Jan 2000 00:00:00 GMT
90
- Vary:
91
- - Accept-Encoding
92
- X-Fb-Debug:
93
- - VwX7+9zV+fWvZ1Tgzv3dBNlcjGOiI94S2232EFDShjnt30QNm0GDgUOwfgi/FrhFw1veuUCWxmORqi6bvg/joQ==
94
- Date:
95
- - Mon, 15 Jun 2015 18:14:10 GMT
96
- Connection:
97
- - keep-alive
98
- Content-Length:
99
- - '526'
100
- body:
101
- encoding: UTF-8
102
- string: '{"data":[{"id":"6025433555071"},{"id":"6025433765271"},{"id":"6025526303471"},{"id":"6025526321871"},{"id":"6025396551671"},{"id":"6025352670471"},{"id":"6025611509471"},{"id":"6025615327871"},{"id":"6025122270071"},{"id":"6025622524871"},{"id":"6025621391271"},{"id":"6025433764471"},{"id":"6025621319071"},{"id":"6025620897271"},{"id":"6025433769871"},{"id":"6025620875871"},{"id":"6025620341871"},{"id":"6025620304871"},{"id":"6025616608471"},{"id":"6025615296471"},{"id":"6025615366671"},{"id":"6025352667271"},{"id":"6025615366871"},{"id":"6025279133071"},{"id":"6025396552871"}],"paging":{"cursors":{"before":"NjAyNTQzMzU1NTA3MQ==","after":"NjAyNTM5NjU1Mjg3MQ=="},"next":"https:\/\/graph.facebook.com\/v2.3\/act_330410070\/adgroups?access_token=<TOKEN>&limit=25&after=NjAyNTM5NjU1Mjg3MQ\u00253D\u00253D"}}'
103
- http_version:
104
- recorded_at: Mon, 15 Jun 2015 18:14:10 GMT
105
- - request:
106
- method: get
107
- uri: https://graph.facebook.com/v2.3/me/adaccounts?access_token=<TOKEN>
108
- body:
109
- encoding: US-ASCII
110
- string: ''
111
- headers:
112
- User-Agent:
113
- - Faraday v0.9.1
114
- Accept-Encoding:
115
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
116
- Accept:
117
- - "*/*"
118
- response:
119
- status:
120
- code: 200
121
- message: OK
122
- headers:
123
- Access-Control-Allow-Origin:
124
- - "*"
125
- Content-Type:
126
- - application/json; charset=UTF-8
127
- X-Fb-Trace-Id:
128
- - G0J2sYcKe+M
129
- X-Fb-Rev:
130
- - '1786490'
131
- Etag:
132
- - '"77dece23ab85d29f77e0ac944b8ea2c599b17702"'
133
- Pragma:
134
- - no-cache
135
- Cache-Control:
136
- - private, no-cache, no-store, must-revalidate
137
- Facebook-Api-Version:
138
- - v2.3
139
- Expires:
140
- - Sat, 01 Jan 2000 00:00:00 GMT
141
- X-Fb-Debug:
142
- - RqFm4TRqpfy8gFuLpd48PGTmmHodhykG6vJWRTEfnH5WgTnDB/iAm7fgn8/3SbyltRFQ+dAXkc26c+puZgpXLQ==
143
- Date:
144
- - Mon, 15 Jun 2015 18:48:49 GMT
145
- Connection:
146
- - keep-alive
147
- Content-Length:
148
- - '206'
149
- body:
150
- encoding: UTF-8
151
- string: '{"data":[{"account_id":"1387991991504454","id":"act_1387991991504454"},{"account_id":"330410070","id":"act_330410070"}],"paging":{"cursors":{"before":"NjAyMTM3NDcwNTI1OA==","after":"NjAwMzQwNjkyMTA3MQ=="}}}'
152
- http_version:
153
- recorded_at: Mon, 15 Jun 2015 18:48:49 GMT
154
- - request:
155
- method: get
156
- uri: https://graph.facebook.com/v2.3/act_330410070/adcampaigns?access_token=<TOKEN>
157
- body:
158
- encoding: US-ASCII
159
- string: ''
160
- headers:
161
- User-Agent:
162
- - Faraday v0.9.1
163
- Accept-Encoding:
164
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
165
- Accept:
166
- - "*/*"
167
- response:
168
- status:
169
- code: 200
170
- message: OK
171
- headers:
172
- Access-Control-Allow-Origin:
173
- - "*"
174
- Content-Type:
175
- - application/json; charset=UTF-8
176
- X-Fb-Trace-Id:
177
- - ELk2ZTgtb/J
178
- X-Fb-Rev:
179
- - '1786490'
180
- Etag:
181
- - '"0e0408881ee5d45bab702aa1292f48f905cb115a"'
182
- Pragma:
183
- - no-cache
184
- Cache-Control:
185
- - private, no-cache, no-store, must-revalidate
186
- Facebook-Api-Version:
187
- - v2.3
188
- Expires:
189
- - Sat, 01 Jan 2000 00:00:00 GMT
190
- Vary:
191
- - Accept-Encoding
192
- X-Fb-Debug:
193
- - Dbkj8FjqGgrq/Syf2NuVI+TJSk2FJOiKtwCB1dV1QKuinwZVW+B9q7VGUuqNuLPkXl+W0TCBRCzqnHtkp6s4WA==
194
- Date:
195
- - Mon, 15 Jun 2015 18:48:49 GMT
196
- Connection:
197
- - keep-alive
198
- Content-Length:
199
- - '512'
200
- body:
201
- encoding: UTF-8
202
- string: '{"data":[{"id":"6025615363471"},{"id":"6025611632071"},{"id":"6025611506471"},{"id":"6025526299671"},{"id":"6025526299071"},{"id":"6025526298871"},{"id":"6025526297671"},{"id":"6025526297471"},{"id":"6025525809671"},{"id":"6025525469471"},{"id":"6025525468671"},{"id":"6025525363871"},{"id":"6025525363271"},{"id":"6025433762071"},{"id":"6025433551271"},{"id":"6025396549671"},{"id":"6025352638471"},{"id":"6025097905471"},{"id":"6025097905271"},{"id":"6025097904871"},{"id":"6025097903671"},{"id":"6025097902271"},{"id":"6025097902071"},{"id":"6025097901871"},{"id":"6025097901471"}],"paging":{"cursors":{"before":"NjAyNTYxNTM2MzQ3MQ==","after":"NjAyNTA5NzkwMTQ3MQ=="},"next":"https:\/\/graph.facebook.com\/v2.3\/act_330410070\/adcampaigns?access_token=<TOKEN>&limit=25&after=NjAyNTA5NzkwMTQ3MQ\u00253D\u00253D"}}'
203
- http_version:
204
- recorded_at: Mon, 15 Jun 2015 18:48:50 GMT
205
- - request:
206
- method: get
207
- uri: https://graph.facebook.com/v2.3/act_330410070/adcampaigns?access_token=<TOKEN>
208
- body:
209
- encoding: US-ASCII
210
- string: ''
211
- headers:
212
- User-Agent:
213
- - Faraday v0.9.1
214
- Accept-Encoding:
215
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
216
- Accept:
217
- - "*/*"
218
- response:
219
- status:
220
- code: 200
221
- message: OK
222
- headers:
223
- Access-Control-Allow-Origin:
224
- - "*"
225
- Content-Type:
226
- - application/json; charset=UTF-8
227
- X-Fb-Trace-Id:
228
- - FyBPipdG1xi
229
- X-Fb-Rev:
230
- - '1786490'
231
- Etag:
232
- - '"0e0408881ee5d45bab702aa1292f48f905cb115a"'
233
- Pragma:
234
- - no-cache
235
- Cache-Control:
236
- - private, no-cache, no-store, must-revalidate
237
- Facebook-Api-Version:
238
- - v2.3
239
- Expires:
240
- - Sat, 01 Jan 2000 00:00:00 GMT
241
- Vary:
242
- - Accept-Encoding
243
- X-Fb-Debug:
244
- - 3wBTeYVjNb/E89JUUt+GNft6zmLt8o2EpNY4ljvMZk2WbCAI5yhejphL2naE+NGOOw1VbBK06oxr83VVKsuzOw==
245
- Date:
246
- - Mon, 15 Jun 2015 18:48:50 GMT
247
- Connection:
248
- - keep-alive
249
- Content-Length:
250
- - '512'
251
- body:
252
- encoding: UTF-8
253
- string: '{"data":[{"id":"6025615363471"},{"id":"6025611632071"},{"id":"6025611506471"},{"id":"6025526299671"},{"id":"6025526299071"},{"id":"6025526298871"},{"id":"6025526297671"},{"id":"6025526297471"},{"id":"6025525809671"},{"id":"6025525469471"},{"id":"6025525468671"},{"id":"6025525363871"},{"id":"6025525363271"},{"id":"6025433762071"},{"id":"6025433551271"},{"id":"6025396549671"},{"id":"6025352638471"},{"id":"6025097905471"},{"id":"6025097905271"},{"id":"6025097904871"},{"id":"6025097903671"},{"id":"6025097902271"},{"id":"6025097902071"},{"id":"6025097901871"},{"id":"6025097901471"}],"paging":{"cursors":{"before":"NjAyNTYxNTM2MzQ3MQ==","after":"NjAyNTA5NzkwMTQ3MQ=="},"next":"https:\/\/graph.facebook.com\/v2.3\/act_330410070\/adcampaigns?access_token=<TOKEN>&limit=25&after=NjAyNTA5NzkwMTQ3MQ\u00253D\u00253D"}}'
254
- http_version:
255
- recorded_at: Mon, 15 Jun 2015 18:48:50 GMT
256
- recorded_with: VCR 2.9.2
@@ -1,154 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://graph.facebook.com/v2.3/me/adaccounts?access_token=<TOKEN>
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - Faraday v0.9.1
12
- Accept-Encoding:
13
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
- Accept:
15
- - "*/*"
16
- response:
17
- status:
18
- code: 200
19
- message: OK
20
- headers:
21
- Access-Control-Allow-Origin:
22
- - "*"
23
- Content-Type:
24
- - application/json; charset=UTF-8
25
- X-Fb-Trace-Id:
26
- - CGMf/82jm7U
27
- X-Fb-Rev:
28
- - '1786490'
29
- Etag:
30
- - '"77dece23ab85d29f77e0ac944b8ea2c599b17702"'
31
- Pragma:
32
- - no-cache
33
- Cache-Control:
34
- - private, no-cache, no-store, must-revalidate
35
- Facebook-Api-Version:
36
- - v2.3
37
- Expires:
38
- - Sat, 01 Jan 2000 00:00:00 GMT
39
- X-Fb-Debug:
40
- - 4x4TXOwjcWDCSsx46PnNk1JpPNHeV1j0csSQKBAmk/qzAuI+NBaeJfa0PkpVJX7Y8rd5zm/M+TylmAhpQcNh/A==
41
- Date:
42
- - Mon, 15 Jun 2015 18:48:47 GMT
43
- Connection:
44
- - keep-alive
45
- Content-Length:
46
- - '206'
47
- body:
48
- encoding: UTF-8
49
- string: '{"data":[{"account_id":"1387991991504454","id":"act_1387991991504454"},{"account_id":"330410070","id":"act_330410070"}],"paging":{"cursors":{"before":"NjAyMTM3NDcwNTI1OA==","after":"NjAwMzQwNjkyMTA3MQ=="}}}'
50
- http_version:
51
- recorded_at: Mon, 15 Jun 2015 18:48:47 GMT
52
- - request:
53
- method: get
54
- uri: https://graph.facebook.com/v2.3/act_330410070/adgroups?access_token=<TOKEN>
55
- body:
56
- encoding: US-ASCII
57
- string: ''
58
- headers:
59
- User-Agent:
60
- - Faraday v0.9.1
61
- Accept-Encoding:
62
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
63
- Accept:
64
- - "*/*"
65
- response:
66
- status:
67
- code: 200
68
- message: OK
69
- headers:
70
- Access-Control-Allow-Origin:
71
- - "*"
72
- Content-Type:
73
- - application/json; charset=UTF-8
74
- X-Fb-Trace-Id:
75
- - CYDMUzv8elF
76
- X-Fb-Rev:
77
- - '1786490'
78
- Etag:
79
- - '"85ebdf05ed9fd10b5695834881f49f597c5265b6"'
80
- Pragma:
81
- - no-cache
82
- Cache-Control:
83
- - private, no-cache, no-store, must-revalidate
84
- Facebook-Api-Version:
85
- - v2.3
86
- Expires:
87
- - Sat, 01 Jan 2000 00:00:00 GMT
88
- Vary:
89
- - Accept-Encoding
90
- X-Fb-Debug:
91
- - vgbGVkUIKry7Lky52tplsciSbrEQ+5VFYyxc/LArFSY4MF2Pqt/XoiOUJ0lXLDZt/KYmdf0fFrcqgvzy/LaqEg==
92
- Date:
93
- - Mon, 15 Jun 2015 18:48:48 GMT
94
- Connection:
95
- - keep-alive
96
- Content-Length:
97
- - '526'
98
- body:
99
- encoding: UTF-8
100
- string: '{"data":[{"id":"6025433555071"},{"id":"6025433765271"},{"id":"6025526303471"},{"id":"6025526321871"},{"id":"6025396551671"},{"id":"6025352670471"},{"id":"6025611509471"},{"id":"6025615327871"},{"id":"6025122270071"},{"id":"6025622524871"},{"id":"6025621391271"},{"id":"6025433764471"},{"id":"6025621319071"},{"id":"6025620897271"},{"id":"6025433769871"},{"id":"6025620875871"},{"id":"6025620341871"},{"id":"6025620304871"},{"id":"6025616608471"},{"id":"6025615296471"},{"id":"6025615366671"},{"id":"6025352667271"},{"id":"6025615366871"},{"id":"6025279133071"},{"id":"6025396552871"}],"paging":{"cursors":{"before":"NjAyNTQzMzU1NTA3MQ==","after":"NjAyNTM5NjU1Mjg3MQ=="},"next":"https:\/\/graph.facebook.com\/v2.3\/act_330410070\/adgroups?access_token=<TOKEN>&limit=25&after=NjAyNTM5NjU1Mjg3MQ\u00253D\u00253D"}}'
101
- http_version:
102
- recorded_at: Mon, 15 Jun 2015 18:48:48 GMT
103
- - request:
104
- method: get
105
- uri: https://graph.facebook.com/v2.3/act_330410070/adgroups?access_token=<TOKEN>
106
- body:
107
- encoding: US-ASCII
108
- string: ''
109
- headers:
110
- User-Agent:
111
- - Faraday v0.9.1
112
- Accept-Encoding:
113
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
114
- Accept:
115
- - "*/*"
116
- response:
117
- status:
118
- code: 200
119
- message: OK
120
- headers:
121
- Access-Control-Allow-Origin:
122
- - "*"
123
- Content-Type:
124
- - application/json; charset=UTF-8
125
- X-Fb-Trace-Id:
126
- - FoDErvnpmq/
127
- X-Fb-Rev:
128
- - '1786490'
129
- Etag:
130
- - '"85ebdf05ed9fd10b5695834881f49f597c5265b6"'
131
- Pragma:
132
- - no-cache
133
- Cache-Control:
134
- - private, no-cache, no-store, must-revalidate
135
- Facebook-Api-Version:
136
- - v2.3
137
- Expires:
138
- - Sat, 01 Jan 2000 00:00:00 GMT
139
- Vary:
140
- - Accept-Encoding
141
- X-Fb-Debug:
142
- - bi6jwWxtFnaxM90ZLkoxvUKU0hQ6yJb7JHlRldStruYXM0soxGk21/OfZ0vcVa1NI/X/Hl+MGAfZXO4NlbhBfQ==
143
- Date:
144
- - Mon, 15 Jun 2015 18:48:49 GMT
145
- Connection:
146
- - keep-alive
147
- Content-Length:
148
- - '526'
149
- body:
150
- encoding: UTF-8
151
- string: '{"data":[{"id":"6025433555071"},{"id":"6025433765271"},{"id":"6025526303471"},{"id":"6025526321871"},{"id":"6025396551671"},{"id":"6025352670471"},{"id":"6025611509471"},{"id":"6025615327871"},{"id":"6025122270071"},{"id":"6025622524871"},{"id":"6025621391271"},{"id":"6025433764471"},{"id":"6025621319071"},{"id":"6025620897271"},{"id":"6025433769871"},{"id":"6025620875871"},{"id":"6025620341871"},{"id":"6025620304871"},{"id":"6025616608471"},{"id":"6025615296471"},{"id":"6025615366671"},{"id":"6025352667271"},{"id":"6025615366871"},{"id":"6025279133071"},{"id":"6025396552871"}],"paging":{"cursors":{"before":"NjAyNTQzMzU1NTA3MQ==","after":"NjAyNTM5NjU1Mjg3MQ=="},"next":"https:\/\/graph.facebook.com\/v2.3\/act_330410070\/adgroups?access_token=<TOKEN>&limit=25&after=NjAyNTM5NjU1Mjg3MQ\u00253D\u00253D"}}'
152
- http_version:
153
- recorded_at: Mon, 15 Jun 2015 18:48:49 GMT
154
- recorded_with: VCR 2.9.2
@@ -1,154 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://graph.facebook.com/v2.3/me/adaccounts?access_token=<TOKEN>
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - Faraday v0.9.1
12
- Accept-Encoding:
13
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
- Accept:
15
- - "*/*"
16
- response:
17
- status:
18
- code: 200
19
- message: OK
20
- headers:
21
- Access-Control-Allow-Origin:
22
- - "*"
23
- Content-Type:
24
- - application/json; charset=UTF-8
25
- X-Fb-Trace-Id:
26
- - GXb07i291Mm
27
- X-Fb-Rev:
28
- - '1786490'
29
- Etag:
30
- - '"77dece23ab85d29f77e0ac944b8ea2c599b17702"'
31
- Pragma:
32
- - no-cache
33
- Cache-Control:
34
- - private, no-cache, no-store, must-revalidate
35
- Facebook-Api-Version:
36
- - v2.3
37
- Expires:
38
- - Sat, 01 Jan 2000 00:00:00 GMT
39
- X-Fb-Debug:
40
- - X+E1AoeQ8ejNE21hPO6ZyAAd8w4dy16GQlExON+JzaQ65caTKeyydbZPSVVy331B86Lz38b8nnymqLYS15gUGA==
41
- Date:
42
- - Mon, 15 Jun 2015 18:48:50 GMT
43
- Connection:
44
- - keep-alive
45
- Content-Length:
46
- - '206'
47
- body:
48
- encoding: UTF-8
49
- string: '{"data":[{"account_id":"1387991991504454","id":"act_1387991991504454"},{"account_id":"330410070","id":"act_330410070"}],"paging":{"cursors":{"before":"NjAyMTM3NDcwNTI1OA==","after":"NjAwMzQwNjkyMTA3MQ=="}}}'
50
- http_version:
51
- recorded_at: Mon, 15 Jun 2015 18:48:50 GMT
52
- - request:
53
- method: get
54
- uri: https://graph.facebook.com/v2.3/act_330410070/adcampaign_groups?access_token=<TOKEN>
55
- body:
56
- encoding: US-ASCII
57
- string: ''
58
- headers:
59
- User-Agent:
60
- - Faraday v0.9.1
61
- Accept-Encoding:
62
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
63
- Accept:
64
- - "*/*"
65
- response:
66
- status:
67
- code: 200
68
- message: OK
69
- headers:
70
- Access-Control-Allow-Origin:
71
- - "*"
72
- Content-Type:
73
- - application/json; charset=UTF-8
74
- X-Fb-Trace-Id:
75
- - EywWkH9ud3d
76
- X-Fb-Rev:
77
- - '1786490'
78
- Etag:
79
- - '"1c1bc53719df772ddb175a142e48a736fb5b8a8c"'
80
- Pragma:
81
- - no-cache
82
- Cache-Control:
83
- - private, no-cache, no-store, must-revalidate
84
- Facebook-Api-Version:
85
- - v2.3
86
- Expires:
87
- - Sat, 01 Jan 2000 00:00:00 GMT
88
- Vary:
89
- - Accept-Encoding
90
- X-Fb-Debug:
91
- - So+2L5joSrQ2zyLiB1OF4GLYwyGxLASdDuR/8WRZ6ksMBiLTqKvwPkKuoOU9cJJ5bWp2Anm1UiIRFcWSb2dumQ==
92
- Date:
93
- - Mon, 15 Jun 2015 18:48:50 GMT
94
- Connection:
95
- - keep-alive
96
- Content-Length:
97
- - '538'
98
- body:
99
- encoding: UTF-8
100
- string: '{"data":[{"id":"6018202879071"},{"id":"6022352143271"},{"id":"6025097858271"},{"id":"6025097858471"},{"id":"6025097858871"},{"id":"6025097860071"},{"id":"6025097860271"},{"id":"6025097860471"},{"id":"6013694911671"},{"id":"6013695314071"},{"id":"6013695715071"},{"id":"6013696183271"},{"id":"6013734336471"},{"id":"6013734800271"},{"id":"6013734827271"},{"id":"6013844400071"},{"id":"6013844400271"},{"id":"6013939530271"},{"id":"6014309373671"},{"id":"6016656440871"},{"id":"6016925455671"},{"id":"6016925455871"},{"id":"6017065961671"},{"id":"6017066317671"},{"id":"6018117120071"}],"paging":{"cursors":{"before":"NjAxODIwMjg3OTA3MQ==","after":"NjAxODExNzEyMDA3MQ=="},"next":"https:\/\/graph.facebook.com\/v2.3\/act_330410070\/adcampaign_groups?access_token=<TOKEN>&limit=25&after=NjAxODExNzEyMDA3MQ\u00253D\u00253D"}}'
101
- http_version:
102
- recorded_at: Mon, 15 Jun 2015 18:48:50 GMT
103
- - request:
104
- method: get
105
- uri: https://graph.facebook.com/v2.3/act_330410070/adcampaign_groups?access_token=<TOKEN>
106
- body:
107
- encoding: US-ASCII
108
- string: ''
109
- headers:
110
- User-Agent:
111
- - Faraday v0.9.1
112
- Accept-Encoding:
113
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
114
- Accept:
115
- - "*/*"
116
- response:
117
- status:
118
- code: 200
119
- message: OK
120
- headers:
121
- Access-Control-Allow-Origin:
122
- - "*"
123
- Content-Type:
124
- - application/json; charset=UTF-8
125
- X-Fb-Trace-Id:
126
- - FoKdGVJrJ39
127
- X-Fb-Rev:
128
- - '1786490'
129
- Etag:
130
- - '"1c1bc53719df772ddb175a142e48a736fb5b8a8c"'
131
- Pragma:
132
- - no-cache
133
- Cache-Control:
134
- - private, no-cache, no-store, must-revalidate
135
- Facebook-Api-Version:
136
- - v2.3
137
- Expires:
138
- - Sat, 01 Jan 2000 00:00:00 GMT
139
- Vary:
140
- - Accept-Encoding
141
- X-Fb-Debug:
142
- - 1it4e6361+JsAiof91hSUYmJqHF3OL/+esomw99BiCmp+tQzU/yx1h61Accj8j66aHg2QDrycT4X5hbFirBV/g==
143
- Date:
144
- - Mon, 15 Jun 2015 18:48:51 GMT
145
- Connection:
146
- - keep-alive
147
- Content-Length:
148
- - '538'
149
- body:
150
- encoding: UTF-8
151
- string: '{"data":[{"id":"6018202879071"},{"id":"6022352143271"},{"id":"6025097858271"},{"id":"6025097858471"},{"id":"6025097858871"},{"id":"6025097860071"},{"id":"6025097860271"},{"id":"6025097860471"},{"id":"6013694911671"},{"id":"6013695314071"},{"id":"6013695715071"},{"id":"6013696183271"},{"id":"6013734336471"},{"id":"6013734800271"},{"id":"6013734827271"},{"id":"6013844400071"},{"id":"6013844400271"},{"id":"6013939530271"},{"id":"6014309373671"},{"id":"6016656440871"},{"id":"6016925455671"},{"id":"6016925455871"},{"id":"6017065961671"},{"id":"6017066317671"},{"id":"6018117120071"}],"paging":{"cursors":{"before":"NjAxODIwMjg3OTA3MQ==","after":"NjAxODExNzEyMDA3MQ=="},"next":"https:\/\/graph.facebook.com\/v2.3\/act_330410070\/adcampaign_groups?access_token=<TOKEN>&limit=25&after=NjAxODExNzEyMDA3MQ\u00253D\u00253D"}}'
152
- http_version:
153
- recorded_at: Mon, 15 Jun 2015 18:48:51 GMT
154
- recorded_with: VCR 2.9.2