trailer_vote-fixtures 1.14.0 → 1.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.editorconfig +24 -24
- data/.gitignore +16 -16
- data/.npmignore +25 -25
- data/.travis.yml +58 -58
- data/Gemfile +6 -6
- data/Gemfile.lock +4 -4
- data/README.md +9 -9
- data/Rakefile +10 -10
- data/bin/console +14 -14
- data/bin/setup +8 -8
- data/lib/trailer_vote/fixtures.rb +15 -15
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.audio_fragment.v1+json +23 -23
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.audio_fragment.v1.collection+json +23 -23
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.audio_fragment.v1.index+json +25 -25
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.carousel.v1+json +9223 -9223
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.client_configuration.v1+json +6 -6
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.configuration.v1+json +23 -23
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.configuration.v2+json +31 -31
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.configuration.v3+json +33 -33
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.configuration.v4+json +42 -42
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.configuration.v5+json +46 -46
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.errors.v1+json +8 -8
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.feedback.v1+json +17 -17
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.feedback.v1.collection+json +22 -22
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.feedback.v1.create+json +6 -6
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.feedback_listing.v1+json +63 -63
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.interactive_player.v1+json +19 -19
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.issue.v1+json +21 -21
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.issue.v1.create+json +15 -15
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.issue.v1.index+json +1162 -1162
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.ordered_fragment.v1.index+json +31 -31
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.persona.v1+json +13 -13
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.persona.v1.create+json +1 -1
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.persona.v2+json +16 -16
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v1+json +19 -19
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v1.collection+json +23 -23
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v1.create+json +1 -1
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v1.index+json +9 -9
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v2+json +19 -19
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v2.collection+json +23 -23
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v2.create+json +7 -7
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v2.index+json +9 -9
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v3+json +22 -22
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v3.collection+json +1 -1
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v3.create+json +1 -1
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v3.index+json +9 -9
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v4+json +25 -25
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v4.collection+json +29 -29
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v4.create+json +24 -24
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v4.index+json +9 -9
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.image.v1+json +68 -68
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.image.v1.collection+json +72 -72
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.image.v1.create+json +9 -9
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.image.v1.index+json +19 -19
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.lookup.v1+json +6 -6
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.v1+json +89 -89
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.v1.collection+json +93 -93
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.v1.create+json +58 -58
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.v1.index+json +2821 -2821
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.v2+json +97 -97
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.v2.collection+json +94 -94
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.v2.create+json +67 -67
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.v2.index+json +2821 -2821
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.video.v1+json +36 -36
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.video.v1.collection+json +40 -40
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.video.v1.create+json +7 -7
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.video.v1.index+json +39 -39
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.product_place_link.v1+json +12 -12
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.product_place_link.v1.collection+json +1 -1
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.product_place_link.v1.create+json +3 -3
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.product_place_link.v1.index+json +1 -1
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.products_listing.v1+json +14318 -14318
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v1+json +11 -11
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v1.create+json +1 -1
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v2+json +22 -22
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v2.create+json +1 -1
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v3+json +25 -25
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v3.create+json +1 -1
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v4+json +28 -28
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v5+json +30 -0
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v5.create+json +30 -0
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_consent.v1+json +11 -11
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_consent.v1.create+json +10 -10
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_manifest.v1+json +26 -26
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_manifest.v2+json +25 -25
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_token_android.v1+json +10 -10
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_token_android.v1.create+json +7 -7
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_token_index.v1+json +14 -14
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_token_index.v1.index+json +14 -14
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_token_ios.v1+json +10 -10
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_token_ios.v1.create+json +7 -7
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.release_push_campaign.v1+json +15 -15
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.release_push_campaign.v2+json +17 -0
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.release_push_campaign.v2.create+json +19 -0
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.sentiment_feedback.v1+json +538 -538
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.sentiment_feedback.v2+json +13 -13
- data/lib/trailer_vote/fixtures/index.js +3 -3
- data/lib/trailer_vote/fixtures/main.mjs +9 -9
- data/lib/trailer_vote/fixtures/version.rb +1 -1
- data/package.json +1 -1
- data/ruby/README.md +37 -37
- data/trailer_vote-fixtures.gemspec +1 -1
- data/yarn.lock +33 -33
- metadata +9 -5
@@ -1,11 +1,11 @@
|
|
1
|
-
{
|
2
|
-
"push_campaign_trivial": {
|
3
|
-
"_links": {
|
4
|
-
"action": {
|
5
|
-
"href": "http://cinema1.dev.trailervote.com/venom.php"
|
6
|
-
}
|
7
|
-
},
|
8
|
-
"message": "TrailerVote wants your attention",
|
9
|
-
"schedule_at": "2018-12-08T00:00:00Z"
|
10
|
-
}
|
11
|
-
}
|
1
|
+
{
|
2
|
+
"push_campaign_trivial": {
|
3
|
+
"_links": {
|
4
|
+
"action": {
|
5
|
+
"href": "http://cinema1.dev.trailervote.com/venom.php"
|
6
|
+
}
|
7
|
+
},
|
8
|
+
"message": "TrailerVote wants your attention",
|
9
|
+
"schedule_at": "2018-12-08T00:00:00Z"
|
10
|
+
}
|
11
|
+
}
|
data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v1.create+json
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
"schedule_at": "2018-12-08T00:00:00Z",
|
9
9
|
"_links": {
|
10
10
|
"product_asset": {
|
11
|
-
"href": "https://fake.trailervote.com:/api/
|
11
|
+
"href": "https://fake.trailervote.com:/api/audio-fragments/1220c10465c7163b9c97e478b296b3ba22041670d09f0dc2ac50ab1f277493df859u"
|
12
12
|
},
|
13
13
|
"action": {
|
14
14
|
"href": "https://fake.trailervote.com:/api/products/a3f29b79-7f09-4d99-b5d8-aae91a563eb8/images/ed236e4b-f457-49d5-978f-ed84953eb004"
|
@@ -1,22 +1,22 @@
|
|
1
|
-
{
|
2
|
-
"push_campaign_trivial": {
|
3
|
-
"_links": {
|
4
|
-
"action": {
|
5
|
-
"href": "http://cinema1.dev.trailervote.com/venom.php"
|
6
|
-
}
|
7
|
-
},
|
8
|
-
"message": "TrailerVote wants your attention",
|
9
|
-
"schedule_at": "2018-12-08T00:00:00Z",
|
10
|
-
"filter": {
|
11
|
-
"platform": "ios",
|
12
|
-
"region": "nl",
|
13
|
-
"language": "NL",
|
14
|
-
"timezone": "Europe/Amsterdam",
|
15
|
-
"vote_source": null,
|
16
|
-
"purchased": false,
|
17
|
-
"vote_value": null,
|
18
|
-
"vote_from": null,
|
19
|
-
"vote_until": null
|
20
|
-
}
|
21
|
-
}
|
22
|
-
}
|
1
|
+
{
|
2
|
+
"push_campaign_trivial": {
|
3
|
+
"_links": {
|
4
|
+
"action": {
|
5
|
+
"href": "http://cinema1.dev.trailervote.com/venom.php"
|
6
|
+
}
|
7
|
+
},
|
8
|
+
"message": "TrailerVote wants your attention",
|
9
|
+
"schedule_at": "2018-12-08T00:00:00Z",
|
10
|
+
"filter": {
|
11
|
+
"platform": "ios",
|
12
|
+
"region": "nl",
|
13
|
+
"language": "NL",
|
14
|
+
"timezone": "Europe/Amsterdam",
|
15
|
+
"vote_source": null,
|
16
|
+
"purchased": false,
|
17
|
+
"vote_value": null,
|
18
|
+
"vote_from": null,
|
19
|
+
"vote_until": null
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v2.create+json
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
"schedule_at": "2018-12-08T00:00:00Z",
|
9
9
|
"_links": {
|
10
10
|
"product_asset": {
|
11
|
-
"href": "https://fake.trailervote.com:/api/
|
11
|
+
"href": "https://fake.trailervote.com:/api/audio-fragments/1220c10465c7163b9c97e478b296b3ba22041670d09f0dc2ac50ab1f277493df859u"
|
12
12
|
},
|
13
13
|
"action": {
|
14
14
|
"href": "https://fake.trailervote.com:/api/products/a3f29b79-7f09-4d99-b5d8-aae91a563eb8/images/ed236e4b-f457-49d5-978f-ed84953eb004"
|
@@ -1,25 +1,25 @@
|
|
1
|
-
{
|
2
|
-
"push_campaign_trivial": {
|
3
|
-
"_links": {
|
4
|
-
"self": {
|
5
|
-
"href": "https://fake.dev.trailervote.com/trailervote-api/admin/push_trivial_campaigns/9664ef93-5c38-4409-9652-f0c51c61377a"
|
6
|
-
},
|
7
|
-
"action": {
|
8
|
-
"href": "http://cinema1.dev.trailervote.com/venom.php"
|
9
|
-
}
|
10
|
-
},
|
11
|
-
"message": "TrailerVote wants your attention",
|
12
|
-
"schedule_at": "2018-12-08T00:00:00Z",
|
13
|
-
"filter": {
|
14
|
-
"platform": "ios",
|
15
|
-
"region": "nl",
|
16
|
-
"language": "NL",
|
17
|
-
"timezone": "Europe/Amsterdam",
|
18
|
-
"vote_source": null,
|
19
|
-
"purchased": false,
|
20
|
-
"vote_value": null,
|
21
|
-
"vote_from": null,
|
22
|
-
"vote_until": "2020-12-08T00:00:00Z"
|
23
|
-
}
|
24
|
-
}
|
25
|
-
}
|
1
|
+
{
|
2
|
+
"push_campaign_trivial": {
|
3
|
+
"_links": {
|
4
|
+
"self": {
|
5
|
+
"href": "https://fake.dev.trailervote.com/trailervote-api/admin/push_trivial_campaigns/9664ef93-5c38-4409-9652-f0c51c61377a"
|
6
|
+
},
|
7
|
+
"action": {
|
8
|
+
"href": "http://cinema1.dev.trailervote.com/venom.php"
|
9
|
+
}
|
10
|
+
},
|
11
|
+
"message": "TrailerVote wants your attention",
|
12
|
+
"schedule_at": "2018-12-08T00:00:00Z",
|
13
|
+
"filter": {
|
14
|
+
"platform": "ios",
|
15
|
+
"region": "nl",
|
16
|
+
"language": "NL",
|
17
|
+
"timezone": "Europe/Amsterdam",
|
18
|
+
"vote_source": null,
|
19
|
+
"purchased": false,
|
20
|
+
"vote_value": null,
|
21
|
+
"vote_from": null,
|
22
|
+
"vote_until": "2020-12-08T00:00:00Z"
|
23
|
+
}
|
24
|
+
}
|
25
|
+
}
|
data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v3.create+json
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
"schedule_at": "2018-12-08T00:00:00Z",
|
9
9
|
"_links": {
|
10
10
|
"product_asset": {
|
11
|
-
"href": "https://fake.trailervote.com:/api/
|
11
|
+
"href": "https://fake.trailervote.com:/api/audio-fragments/1220c10465c7163b9c97e478b296b3ba22041670d09f0dc2ac50ab1f277493df859u"
|
12
12
|
},
|
13
13
|
"action": {
|
14
14
|
"href": "https://fake.trailervote.com:/api/products/a3f29b79-7f09-4d99-b5d8-aae91a563eb8/images/ed236e4b-f457-49d5-978f-ed84953eb004"
|
@@ -1,28 +1,28 @@
|
|
1
|
-
{
|
2
|
-
"push_campaign_trivial": {
|
3
|
-
"_links": {
|
4
|
-
"self": {
|
5
|
-
"href": "https://fake.dev.trailervote.com/trailervote-api/admin/push_trivial_campaigns/9664ef93-5c38-4409-9652-f0c51c61377a"
|
6
|
-
},
|
7
|
-
"action": {
|
8
|
-
"href": "http://cinema1.dev.trailervote.com/venom.php"
|
9
|
-
},
|
10
|
-
"rich_media": {
|
11
|
-
"href": "https://link.some.com/image.png"
|
12
|
-
}
|
13
|
-
},
|
14
|
-
"message": "TrailerVote wants your attention",
|
15
|
-
"schedule_at": "2018-12-08T00:00:00Z",
|
16
|
-
"filter": {
|
17
|
-
"platform": "ios",
|
18
|
-
"region": "nl",
|
19
|
-
"language": "NL",
|
20
|
-
"timezone": "Europe/Amsterdam",
|
21
|
-
"vote_source": null,
|
22
|
-
"purchased": false,
|
23
|
-
"vote_value": null,
|
24
|
-
"vote_from": null,
|
25
|
-
"vote_until": null
|
26
|
-
}
|
27
|
-
}
|
28
|
-
}
|
1
|
+
{
|
2
|
+
"push_campaign_trivial": {
|
3
|
+
"_links": {
|
4
|
+
"self": {
|
5
|
+
"href": "https://fake.dev.trailervote.com/trailervote-api/admin/push_trivial_campaigns/9664ef93-5c38-4409-9652-f0c51c61377a"
|
6
|
+
},
|
7
|
+
"action": {
|
8
|
+
"href": "http://cinema1.dev.trailervote.com/venom.php"
|
9
|
+
},
|
10
|
+
"rich_media": {
|
11
|
+
"href": "https://link.some.com/image.png"
|
12
|
+
}
|
13
|
+
},
|
14
|
+
"message": "TrailerVote wants your attention",
|
15
|
+
"schedule_at": "2018-12-08T00:00:00Z",
|
16
|
+
"filter": {
|
17
|
+
"platform": "ios",
|
18
|
+
"region": "nl",
|
19
|
+
"language": "NL",
|
20
|
+
"timezone": "Europe/Amsterdam",
|
21
|
+
"vote_source": null,
|
22
|
+
"purchased": false,
|
23
|
+
"vote_value": null,
|
24
|
+
"vote_from": null,
|
25
|
+
"vote_until": null
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
{
|
2
|
+
"push_campaign_trivial": {
|
3
|
+
"_links": {
|
4
|
+
"self": {
|
5
|
+
"href": "https://fake.dev.trailervote.com/trailervote-api/admin/push_trivial_campaigns/9664ef93-5c38-4409-9652-f0c51c61377a"
|
6
|
+
},
|
7
|
+
"action": {
|
8
|
+
"href": "http://cinema1.dev.trailervote.com/venom.php"
|
9
|
+
},
|
10
|
+
"rich_media": {
|
11
|
+
"href": "https://link.some.com/image.png"
|
12
|
+
}
|
13
|
+
},
|
14
|
+
"message": "TrailerVote wants your attention",
|
15
|
+
"schedule_at": "2018-12-08T00:00:00Z",
|
16
|
+
"published_at": "2018-12-01T00:00:00Z",
|
17
|
+
"archived_at": "2019-03-01T00:00:00Z",
|
18
|
+
"filter": {
|
19
|
+
"platform": "ios",
|
20
|
+
"region": "nl",
|
21
|
+
"language": "NL",
|
22
|
+
"timezone": "Europe/Amsterdam",
|
23
|
+
"vote_source": null,
|
24
|
+
"purchased": false,
|
25
|
+
"vote_value": null,
|
26
|
+
"vote_from": null,
|
27
|
+
"vote_until": null
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v5.create+json
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
{
|
2
|
+
"push_campaign_trivial": {
|
3
|
+
"translations": {
|
4
|
+
"en-US": {
|
5
|
+
"message": "TrailerVote wants your attention"
|
6
|
+
},
|
7
|
+
"nl-NL": {
|
8
|
+
"message": "TrailerVote wil je aandacht"
|
9
|
+
}
|
10
|
+
},
|
11
|
+
"schedule_at": "2018-12-08T00:00:00Z",
|
12
|
+
"published_at": "2018-12-01T00:00:00Z",
|
13
|
+
"archived_at": "2019-03-01T00:00:00Z",
|
14
|
+
"_links": {
|
15
|
+
"product": {
|
16
|
+
"href": "https://fake.trailervote.com:/api/products/a3f29b79-7f09-4d99-b5d8-aae91a563eb8"
|
17
|
+
},
|
18
|
+
"action": {
|
19
|
+
"href": "https://fake.trailervote.com:/api/products/a3f29b79-7f09-4d99-b5d8-aae91a563eb8/images/ed236e4b-f457-49d5-978f-ed84953eb004"
|
20
|
+
},
|
21
|
+
"rich_media": {
|
22
|
+
"href": "https://link.some.com/image.png"
|
23
|
+
}
|
24
|
+
},
|
25
|
+
"filter": {
|
26
|
+
"platform": "ios",
|
27
|
+
"region": null
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
@@ -1,11 +1,11 @@
|
|
1
|
-
{
|
2
|
-
"push_consent": {
|
3
|
-
"region": "NL",
|
4
|
-
"opt_in": true,
|
5
|
-
"signed_at": "20191016T123723Z",
|
6
|
-
"_links": {
|
7
|
-
"tos": { "href": "https://trailervote.com/push_consent_v1.pdf" },
|
8
|
-
"tokens": { "href": "https://fake.trailervote.com/persona/1241234/tokens" }
|
9
|
-
}
|
10
|
-
}
|
11
|
-
}
|
1
|
+
{
|
2
|
+
"push_consent": {
|
3
|
+
"region": "NL",
|
4
|
+
"opt_in": true,
|
5
|
+
"signed_at": "20191016T123723Z",
|
6
|
+
"_links": {
|
7
|
+
"tos": { "href": "https://trailervote.com/push_consent_v1.pdf" },
|
8
|
+
"tokens": { "href": "https://fake.trailervote.com/persona/1241234/tokens" }
|
9
|
+
}
|
10
|
+
}
|
11
|
+
}
|
@@ -1,10 +1,10 @@
|
|
1
|
-
{
|
2
|
-
"push_consent": {
|
3
|
-
"region": "NL",
|
4
|
-
"opt_in": true,
|
5
|
-
"signed_at": "20191016T123723Z",
|
6
|
-
"_links": {
|
7
|
-
"tos": { "href": "https://trailervote.com/push_consent_v1.pdf" }
|
8
|
-
}
|
9
|
-
}
|
10
|
-
}
|
1
|
+
{
|
2
|
+
"push_consent": {
|
3
|
+
"region": "NL",
|
4
|
+
"opt_in": true,
|
5
|
+
"signed_at": "20191016T123723Z",
|
6
|
+
"_links": {
|
7
|
+
"tos": { "href": "https://trailervote.com/push_consent_v1.pdf" }
|
8
|
+
}
|
9
|
+
}
|
10
|
+
}
|
@@ -1,26 +1,26 @@
|
|
1
|
-
{
|
2
|
-
"push_manifest": {
|
3
|
-
"campaigns": [
|
4
|
-
{
|
5
|
-
"_links": {
|
6
|
-
"audio_fragment": {
|
7
|
-
"href": "https://example.org/audio_fragments/12134123"
|
8
|
-
},
|
9
|
-
"campaign": {
|
10
|
-
"href": "http://cinema1.dev.trailervote.com/campaign_12134123.php"
|
11
|
-
}
|
12
|
-
}
|
13
|
-
},
|
14
|
-
{
|
15
|
-
"_links": {
|
16
|
-
"audio_fragment": {
|
17
|
-
"href": "https://example.org/audio_fragments/12134124"
|
18
|
-
},
|
19
|
-
"campaign": {
|
20
|
-
"href": "http://cinema1.dev.trailervote.com/campaign_12134123.php"
|
21
|
-
}
|
22
|
-
}
|
23
|
-
}
|
24
|
-
]
|
25
|
-
}
|
26
|
-
}
|
1
|
+
{
|
2
|
+
"push_manifest": {
|
3
|
+
"campaigns": [
|
4
|
+
{
|
5
|
+
"_links": {
|
6
|
+
"audio_fragment": {
|
7
|
+
"href": "https://example.org/audio_fragments/12134123"
|
8
|
+
},
|
9
|
+
"campaign": {
|
10
|
+
"href": "http://cinema1.dev.trailervote.com/campaign_12134123.php"
|
11
|
+
}
|
12
|
+
}
|
13
|
+
},
|
14
|
+
{
|
15
|
+
"_links": {
|
16
|
+
"audio_fragment": {
|
17
|
+
"href": "https://example.org/audio_fragments/12134124"
|
18
|
+
},
|
19
|
+
"campaign": {
|
20
|
+
"href": "http://cinema1.dev.trailervote.com/campaign_12134123.php"
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
]
|
25
|
+
}
|
26
|
+
}
|
@@ -1,26 +1,26 @@
|
|
1
|
-
{
|
2
|
-
"push_manifest": {
|
3
|
-
"campaigns": [
|
4
|
-
{
|
5
|
-
"_links": {
|
6
|
-
"audio_fragment": {
|
7
|
-
"href": "https://example.org/audio_fragments/12134123"
|
8
|
-
},
|
9
|
-
"campaign": {
|
10
|
-
"href": "http://cinema1.dev.trailervote.com/campaign_12134123.php"
|
11
|
-
}
|
12
|
-
}
|
13
|
-
},
|
14
|
-
{
|
15
|
-
"_links": {
|
16
|
-
"product": {
|
17
|
-
"href": "https://example.org/product/12134124"
|
18
|
-
},
|
19
|
-
"campaign": {
|
20
|
-
"href": "http://cinema1.dev.trailervote.com/campaign_12134123.php"
|
21
|
-
}
|
22
|
-
}
|
23
|
-
}
|
24
|
-
]
|
25
|
-
}
|
1
|
+
{
|
2
|
+
"push_manifest": {
|
3
|
+
"campaigns": [
|
4
|
+
{
|
5
|
+
"_links": {
|
6
|
+
"audio_fragment": {
|
7
|
+
"href": "https://example.org/audio_fragments/12134123"
|
8
|
+
},
|
9
|
+
"campaign": {
|
10
|
+
"href": "http://cinema1.dev.trailervote.com/campaign_12134123.php"
|
11
|
+
}
|
12
|
+
}
|
13
|
+
},
|
14
|
+
{
|
15
|
+
"_links": {
|
16
|
+
"product": {
|
17
|
+
"href": "https://example.org/product/12134124"
|
18
|
+
},
|
19
|
+
"campaign": {
|
20
|
+
"href": "http://cinema1.dev.trailervote.com/campaign_12134123.php"
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
]
|
25
|
+
}
|
26
26
|
}
|
@@ -1,10 +1,10 @@
|
|
1
|
-
{
|
2
|
-
"push_token_android": {
|
3
|
-
"token": "aas89df790724898jf0218jdf202810jdg",
|
4
|
-
"app_id": "com.trailervote.demo",
|
5
|
-
"device_id": "b09bac5e-5c48-499c-a695-eead9437cb6d",
|
6
|
-
"_links": {
|
7
|
-
"self": { "href": "https://fake.trailervote.com/api/personas/b09bac5e-5c48-499c-a695-eead9437cb6e/push_tokens/android/b09bac5e-5c48-499c-a695-eead9437cb6q" }
|
8
|
-
}
|
9
|
-
}
|
10
|
-
}
|
1
|
+
{
|
2
|
+
"push_token_android": {
|
3
|
+
"token": "aas89df790724898jf0218jdf202810jdg",
|
4
|
+
"app_id": "com.trailervote.demo",
|
5
|
+
"device_id": "b09bac5e-5c48-499c-a695-eead9437cb6d",
|
6
|
+
"_links": {
|
7
|
+
"self": { "href": "https://fake.trailervote.com/api/personas/b09bac5e-5c48-499c-a695-eead9437cb6e/push_tokens/android/b09bac5e-5c48-499c-a695-eead9437cb6q" }
|
8
|
+
}
|
9
|
+
}
|
10
|
+
}
|
data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_token_android.v1.create+json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
{
|
2
|
-
"push_token_android": {
|
3
|
-
"token": "aas89df790724898jf0218jdf202810jdg",
|
4
|
-
"app_id": "com.trailervote.demo",
|
5
|
-
"device_id": "cc022c5f-eb76-4527-bec5-0eac600fa172"
|
6
|
-
}
|
7
|
-
}
|
1
|
+
{
|
2
|
+
"push_token_android": {
|
3
|
+
"token": "aas89df790724898jf0218jdf202810jdg",
|
4
|
+
"app_id": "com.trailervote.demo",
|
5
|
+
"device_id": "cc022c5f-eb76-4527-bec5-0eac600fa172"
|
6
|
+
}
|
7
|
+
}
|