access 2.0.41 → 2.0.42
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/access/campaign.rb +2 -0
- data/lib/access/filter.rb +0 -7
- data/lib/access/response.rb +4 -4
- data/lib/access/version.rb +1 -1
- data/test/access/campaign_test.rb +11 -9
- data/test/access/channel_test.rb +1 -0
- data/test/access/filter_test.rb +0 -4
- data/test/access/spot_test.rb +4 -7
- data/test/vcr/cassettes/all_usage.yml +36 -44
- data/test/vcr/cassettes/autocomplete_search.yml +49 -48
- data/test/vcr/cassettes/autocomplete_search_categories.yml +26 -26
- data/test/vcr/cassettes/autocomplete_search_locations.yml +26 -26
- data/test/vcr/cassettes/autocomplete_search_offers.yml +29 -29
- data/test/vcr/cassettes/autocomplete_search_stores.yml +27 -27
- data/test/vcr/cassettes/campaign_find.yml +182 -5526
- data/test/vcr/cassettes/campaign_search.yml +1206 -5525
- data/test/vcr/cassettes/category_find.yml +32 -26
- data/test/vcr/cassettes/category_search.yml +51 -51
- data/test/vcr/cassettes/category_search_fail_member_key.yml +24 -24
- data/test/vcr/cassettes/channel_find.yml +7 -4
- data/test/vcr/cassettes/channel_search.yml +17 -15
- data/test/vcr/cassettes/filter_find.yml +131 -25
- data/test/vcr/cassettes/filter_search.yml +29 -31
- data/test/vcr/cassettes/find_redemption_by_member_key.yml +34 -34
- data/test/vcr/cassettes/location_find.yml +459 -438
- data/test/vcr/cassettes/location_search.yml +93 -84
- data/test/vcr/cassettes/location_search_fail_member_key.yml +24 -24
- data/test/vcr/cassettes/member_location_recent.yml +4 -8
- data/test/vcr/cassettes/member_query_frequent.yml +4 -8
- data/test/vcr/cassettes/member_query_recent.yml +4 -8
- data/test/vcr/cassettes/member_show_failure.yml +3 -3
- data/test/vcr/cassettes/member_show_success.yml +4 -4
- data/test/vcr/cassettes/member_update_success.yml +4 -139
- data/test/vcr/cassettes/national_stores.yml +1775 -1827
- data/test/vcr/cassettes/oauth_application_find.yml +34 -35
- data/test/vcr/cassettes/oauth_application_search.yml +36 -37
- data/test/vcr/cassettes/oauth_application_token_find.yml +46 -47
- data/test/vcr/cassettes/oauth_application_token_search.yml +47 -48
- data/test/vcr/cassettes/offer_find.yml +117 -108
- data/test/vcr/cassettes/offer_find_uses_remaining.yml +8 -8
- data/test/vcr/cassettes/offer_find_with_offer_uses_remaining.yml +97 -95
- data/test/vcr/cassettes/offer_search.yml +113 -113
- data/test/vcr/cassettes/offer_search_fail_member_key.yml +24 -24
- data/test/vcr/cassettes/offer_with_aggregations.yml +843 -844
- data/test/vcr/cassettes/redeem_offer_no_redeem_type.yml +4 -4
- data/test/vcr/cassettes/redeem_offer_with_redeem_type.yml +6 -6
- data/test/vcr/cassettes/redeem_offer_with_redeem_type_for_uses_remaining_test.yml +5 -5
- data/test/vcr/cassettes/search_redemption_by_member_key.yml +101 -101
- data/test/vcr/cassettes/search_redemption_by_member_key_without_redemptions.yml +27 -27
- data/test/vcr/cassettes/spot_find.yml +9 -7
- data/test/vcr/cassettes/spot_search_by_campaign.yml +2901 -235
- data/test/vcr/cassettes/spot_search_by_channel.yml +1142 -238
- data/test/vcr/cassettes/store_find.yml +32 -26
- data/test/vcr/cassettes/store_search.yml +28 -28
- data/test/vcr/cassettes/store_search_fail_member_key.yml +24 -24
- data/test/vcr/cassettes/subcategory_find.yml +32 -26
- data/test/vcr/cassettes/token_find.yml +54 -48
- data/test/vcr/cassettes/token_get_first_token.yml +56 -50
- data/test/vcr/cassettes/token_search.yml +56 -50
- data/test/vcr/cassettes/usage.yml +36 -44
- data/test/vcr/cassettes/usage_other.yml +36 -44
- data/test/vcr/cassettes/user_register_failure.yml +3 -3
- data/test/vcr/cassettes/user_update_success.yml +4 -4
- data/test/vcr/cassettes/verify_filter.yml +37 -37
- data/test/vcr/cassettes/verify_token.yml +31 -27
- metadata +2 -4
- data/test/vcr/cassettes/offer_uses_remaining.yml +0 -307
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f0a70294cab16fadc20b063edcf7ca0bc89566c
|
4
|
+
data.tar.gz: 1a2a0aabad494e9a64f572a9d8ee292a36b50f9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fa5753cb63d5da57afc32e7bbb7a4ec171dcba4c1e9393f9ff3fc8f2ab1e02a3e7309be2956fbfa9d6dd8420833e91aeac702018b2bf9ddf447e205d296d53d
|
7
|
+
data.tar.gz: d63463da187ecfd1bad6b5d40b6141d979dba15805dff4032994acdef7d2390a16029597e62098fb1788318406cc5c4b2b58c9d059d0aec345e72484885f6224
|
data/Gemfile.lock
CHANGED
data/lib/access/campaign.rb
CHANGED
@@ -18,7 +18,9 @@ module Access
|
|
18
18
|
values.each do |attribute_name, attribute_value|
|
19
19
|
self.instance_variable_set("@#{attribute_name}", attribute_value)
|
20
20
|
end
|
21
|
+
@spots = Access::Spot.process_batch(@spots) if @spots
|
21
22
|
@spot_list = Access::Spot.process_batch(@spot_list) if @spot_list
|
23
|
+
@channels = Access::Channel.process_batch(@channels) if @channels
|
22
24
|
@channel_list = Access::Channel.process_batch(@channel_list) if @channel_list
|
23
25
|
@links = Access::Link.process_batch(@links) if @links
|
24
26
|
end
|
data/lib/access/filter.rb
CHANGED
data/lib/access/response.rb
CHANGED
@@ -51,7 +51,7 @@ module Access
|
|
51
51
|
def process_data
|
52
52
|
# for when you search and it returns 0
|
53
53
|
(@offers = []; create_error) if @message
|
54
|
-
@offers = Access::Offer.process_batch(@offers)
|
54
|
+
@offers = Access::Offer.process_batch(@offers) if @offers
|
55
55
|
@offer_count_in_categories = Access::Aggregations.process_batch(@offer_count_in_categories) if @offer_count_in_categories
|
56
56
|
@offer_count_by_redemption_method = Access::Aggregations.process_batch(@offer_count_by_redemption_method) if @offer_count_by_redemption_method
|
57
57
|
@offer_count_by_facet = Access::Aggregations.process_batch(@offer_count_by_facet) if @offer_count_by_facet
|
@@ -62,7 +62,7 @@ module Access
|
|
62
62
|
class StoreResponse < Response
|
63
63
|
def process_data
|
64
64
|
(@stores = []; create_error) if @message
|
65
|
-
@stores = Access::Store.process_batch(@stores)
|
65
|
+
@stores = Access::Store.process_batch(@stores) if @stores
|
66
66
|
@offer_count_in_categories = Access::Aggregations.process_batch(@offer_count_in_categories) if @offer_count_in_categories
|
67
67
|
@custom_aggregation = Access::Aggregations.process_batch(@custom_aggregation) if @custom_aggregation
|
68
68
|
end
|
@@ -71,7 +71,7 @@ module Access
|
|
71
71
|
class LocationResponse < Response
|
72
72
|
def process_data
|
73
73
|
(@locations = []; create_error) if @message
|
74
|
-
@locations = Access::Location.process_batch(@locations)
|
74
|
+
@locations = Access::Location.process_batch(@locations) if @locations
|
75
75
|
@custom_aggregation = Access::Aggregations.process_batch(@custom_aggregation) if @custom_aggregation
|
76
76
|
end
|
77
77
|
end
|
@@ -79,7 +79,7 @@ module Access
|
|
79
79
|
class CategoryResponse < Response
|
80
80
|
def process_data
|
81
81
|
(@categories = []; create_error) if @message
|
82
|
-
@categories = Access::Category.process_batch(@categories)
|
82
|
+
@categories = Access::Category.process_batch(@categories) if @categories
|
83
83
|
end
|
84
84
|
end
|
85
85
|
|
data/lib/access/version.rb
CHANGED
@@ -4,38 +4,40 @@ class CampaignTest < Minitest::Test
|
|
4
4
|
|
5
5
|
def get_first_campaign
|
6
6
|
VCR.use_cassette('campaign search') do
|
7
|
-
@first_campaign = Access::Campaign.search(member_key: 'API_RUBY_GEM_TEST', channel_key:
|
7
|
+
@first_campaign = Access::Campaign.search(member_key: 'API_RUBY_GEM_TEST', channel_key: '20889899', api_environment: 'production').campaigns.first
|
8
8
|
end
|
9
9
|
end
|
10
10
|
|
11
11
|
def test_campaigns_search
|
12
12
|
VCR.use_cassette('campaign search') do
|
13
|
-
campaigns_response = Access::Campaign.search(member_key: 'API_RUBY_GEM_TEST', channel_key:
|
13
|
+
campaigns_response = Access::Campaign.search(member_key: 'API_RUBY_GEM_TEST', channel_key: '20889899', api_environment: 'production')
|
14
14
|
assert campaigns_response.success
|
15
15
|
first_campaign = campaigns_response.campaigns.first
|
16
16
|
assert_kind_of Access::CampaignResponse, campaigns_response
|
17
17
|
assert_kind_of Array, campaigns_response.campaigns
|
18
18
|
assert_kind_of Access::Campaign, first_campaign
|
19
19
|
assert_kind_of Access::Link, first_campaign.links.first
|
20
|
-
assert_kind_of Array, first_campaign.
|
21
|
-
assert_kind_of Access::Spot, first_campaign.
|
22
|
-
assert_kind_of Access::Link, first_campaign.
|
23
|
-
assert_kind_of Array, first_campaign.
|
24
|
-
assert_kind_of Access::Channel, first_campaign.
|
25
|
-
assert_kind_of Access::Link, first_campaign.
|
20
|
+
assert_kind_of Array, first_campaign.spots
|
21
|
+
assert_kind_of Access::Spot, first_campaign.spots.first
|
22
|
+
assert_kind_of Access::Link, first_campaign.spots.first.links.first
|
23
|
+
assert_kind_of Array, first_campaign.channels
|
24
|
+
assert_kind_of Access::Channel, first_campaign.channels.first
|
25
|
+
assert_kind_of Access::Link, first_campaign.channels.first.links.first
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
29
29
|
def test_campaigns_find
|
30
|
+
skip
|
30
31
|
get_first_campaign
|
31
32
|
VCR.use_cassette('campaign find') do
|
32
|
-
campaigns_response = Access::Campaign.find(@first_campaign.key, member_key: 'API_RUBY_GEM_TEST', channel_key:
|
33
|
+
campaigns_response = Access::Campaign.find(@first_campaign.key, member_key: 'API_RUBY_GEM_TEST', channel_key: '20889899', api_environment: 'production')
|
33
34
|
assert campaigns_response.success
|
34
35
|
assert_kind_of Access::CampaignResponse, campaigns_response
|
35
36
|
base_attributes = [:key, :campaign_name, :campaign_description, :start_date, :end_date, :campaign_ranking, :spot_list, :channel_list, :links]
|
36
37
|
base_attributes.each do |att|
|
37
38
|
assert campaigns_response.respond_to?(att), "#{att} not found"
|
38
39
|
end
|
40
|
+
binding.pry
|
39
41
|
assert_kind_of Array, campaigns_response.spot_list
|
40
42
|
assert_kind_of Access::Spot, campaigns_response.spot_list.first
|
41
43
|
assert_kind_of Access::Link, campaigns_response.spot_list.first.links.first
|
data/test/access/channel_test.rb
CHANGED
data/test/access/filter_test.rb
CHANGED
@@ -18,8 +18,6 @@ class FilterTest < Minitest::Test
|
|
18
18
|
assert_kind_of Access::Info, filters_response.info
|
19
19
|
assert_kind_of Array, filters_response.filters
|
20
20
|
assert_kind_of Access::Filter, first_filter
|
21
|
-
assert first_filter.json_filter
|
22
|
-
assert first_filter.hash_filter
|
23
21
|
end
|
24
22
|
end
|
25
23
|
|
@@ -32,8 +30,6 @@ class FilterTest < Minitest::Test
|
|
32
30
|
assert_kind_of Access::FilterResponse, filters_response
|
33
31
|
assert_kind_of Array, filters_response.filters
|
34
32
|
assert_kind_of Access::Filter, first_filter
|
35
|
-
assert first_filter.json_filter
|
36
|
-
assert first_filter.hash_filter
|
37
33
|
assert first_filter.filter_key
|
38
34
|
assert first_filter.name
|
39
35
|
end
|
data/test/access/spot_test.rb
CHANGED
@@ -4,13 +4,13 @@ class SpotTest < Minitest::Test
|
|
4
4
|
|
5
5
|
def get_first_spot
|
6
6
|
VCR.use_cassette('spot search by channel') do
|
7
|
-
@first_spot = Access::Spot.search_by_channel('
|
7
|
+
@first_spot = Access::Spot.search_by_channel('20889899', member_key: 'API_RUBY_GEM_TEST', api_environment: 'production').spots.first
|
8
8
|
end
|
9
9
|
end
|
10
10
|
|
11
11
|
def test_spots_search_by_channel
|
12
12
|
VCR.use_cassette('spot search by channel') do
|
13
|
-
spots_response = Access::Spot.search_by_channel('
|
13
|
+
spots_response = Access::Spot.search_by_channel('20889899', member_key: 'API_RUBY_GEM_TEST', api_environment: 'production')
|
14
14
|
assert spots_response.success
|
15
15
|
first_spot = spots_response.spots.first
|
16
16
|
assert_kind_of Access::SpotResponse, spots_response
|
@@ -23,7 +23,7 @@ class SpotTest < Minitest::Test
|
|
23
23
|
|
24
24
|
def test_spots_search_by_campaign
|
25
25
|
VCR.use_cassette('spot search by campaign') do
|
26
|
-
spots_response = Access::Spot.search_by_campaign('53', member_key: 'API_RUBY_GEM_TEST', api_environment: '
|
26
|
+
spots_response = Access::Spot.search_by_campaign('53', member_key: 'API_RUBY_GEM_TEST', api_environment: 'production')
|
27
27
|
assert spots_response.success
|
28
28
|
first_spot = spots_response.spots.first
|
29
29
|
assert_kind_of Access::SpotResponse, spots_response
|
@@ -37,16 +37,13 @@ class SpotTest < Minitest::Test
|
|
37
37
|
def test_spots_find
|
38
38
|
get_first_spot
|
39
39
|
VCR.use_cassette('spot find') do
|
40
|
-
spots_response = Access::Spot.find(@first_spot.key, member_key: 'API_RUBY_GEM_TEST', api_environment: '
|
40
|
+
spots_response = Access::Spot.find(@first_spot.key, member_key: 'API_RUBY_GEM_TEST', api_environment: 'production')
|
41
41
|
assert spots_response.success
|
42
42
|
assert_kind_of Access::SpotResponse, spots_response
|
43
43
|
base_attributes = [:key, :spot_name, :spot_text, :start_date, :end_date, :spot_ranking, :spot_redirect_url, :spot_redirect_type, :spot_image_url, :links]
|
44
44
|
base_attributes.each do |att|
|
45
45
|
assert spots_response.respond_to?(att), "#{att} not found"
|
46
46
|
end
|
47
|
-
assert_kind_of Access::Offer, spots_response.offer_resource
|
48
|
-
assert_kind_of Array, spots_response.links
|
49
|
-
assert_kind_of Access::Link, spots_response.links.first
|
50
47
|
end
|
51
48
|
end
|
52
49
|
|
@@ -18,75 +18,67 @@ http_interactions:
|
|
18
18
|
code: 200
|
19
19
|
message: OK
|
20
20
|
headers:
|
21
|
-
|
22
|
-
-
|
21
|
+
Server:
|
22
|
+
- nginx/1.8.0
|
23
|
+
Date:
|
24
|
+
- Thu, 21 Jan 2016 18:33:43 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
X-Frame-Options:
|
32
|
+
- SAMEORIGIN
|
33
|
+
X-Xss-Protection:
|
34
|
+
- 1; mode=block
|
35
|
+
X-Content-Type-Options:
|
36
|
+
- nosniff
|
23
37
|
Access-Control-Allow-Methods:
|
24
38
|
- POST, GET, PUT, DELETE, OPTIONS
|
25
|
-
Access-Control-Max-Age:
|
26
|
-
- '1728000'
|
27
39
|
Access-Control-Request-Method:
|
28
40
|
- GET
|
41
|
+
Access-Control-Allow-Headers:
|
42
|
+
- Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
|
43
|
+
Access-Control-Max-Age:
|
44
|
+
- '1728000'
|
45
|
+
Etag:
|
46
|
+
- '"dbd06b34e75e742fb8b66db7f2a91070"'
|
29
47
|
Cache-Control:
|
30
48
|
- max-age=0, private, must-revalidate
|
31
|
-
Content-Type:
|
32
|
-
- application/json
|
33
|
-
Date:
|
34
|
-
- Tue, 06 Oct 2015 22:05:44 GMT
|
35
|
-
Etag:
|
36
|
-
- '"62515833526a161596f1c884cd337758"'
|
37
|
-
Server:
|
38
|
-
- nginx/1.6.2
|
39
|
-
X-Content-Type-Options:
|
40
|
-
- nosniff
|
41
|
-
X-Frame-Options:
|
42
|
-
- SAMEORIGIN
|
43
49
|
X-Request-Id:
|
44
|
-
-
|
50
|
+
- 95088ace-118c-4d26-a08e-0d5b31678c64
|
45
51
|
X-Runtime:
|
46
|
-
- '
|
47
|
-
X-Xss-Protection:
|
48
|
-
- 1; mode=block
|
49
|
-
Transfer-Encoding:
|
50
|
-
- chunked
|
51
|
-
Connection:
|
52
|
-
- keep-alive
|
52
|
+
- '12.445493'
|
53
53
|
body:
|
54
54
|
encoding: UTF-8
|
55
55
|
string: |-
|
56
56
|
{
|
57
57
|
"info": {
|
58
|
-
"total_api_calls":
|
59
|
-
"time_period": "
|
58
|
+
"total_api_calls": 5420,
|
59
|
+
"time_period": "2016-01-01T00:00:00Z to now",
|
60
60
|
"interval": "1d",
|
61
61
|
"report_env": "demo"
|
62
62
|
},
|
63
63
|
"api_calls_over_time": [
|
64
64
|
{
|
65
|
-
"timestamp": "
|
66
|
-
"api_call_count":
|
67
|
-
},
|
68
|
-
{
|
69
|
-
"timestamp": "2015-10-02T00:00:00.000",
|
70
|
-
"api_call_count": 12406
|
71
|
-
},
|
72
|
-
{
|
73
|
-
"timestamp": "2015-10-03T00:00:00.000",
|
74
|
-
"api_call_count": 11847
|
65
|
+
"timestamp": "2016-01-18T00:00:00.000",
|
66
|
+
"api_call_count": 2011
|
75
67
|
},
|
76
68
|
{
|
77
|
-
"timestamp": "
|
78
|
-
"api_call_count":
|
69
|
+
"timestamp": "2016-01-19T00:00:00.000",
|
70
|
+
"api_call_count": 1536
|
79
71
|
},
|
80
72
|
{
|
81
|
-
"timestamp": "
|
82
|
-
"api_call_count":
|
73
|
+
"timestamp": "2016-01-20T00:00:00.000",
|
74
|
+
"api_call_count": 1612
|
83
75
|
},
|
84
76
|
{
|
85
|
-
"timestamp": "
|
86
|
-
"api_call_count":
|
77
|
+
"timestamp": "2016-01-21T00:00:00.000",
|
78
|
+
"api_call_count": 261
|
87
79
|
}
|
88
80
|
]
|
89
81
|
}
|
90
82
|
http_version:
|
91
|
-
recorded_at:
|
92
|
-
recorded_with: VCR
|
83
|
+
recorded_at: Thu, 21 Jan 2016 18:33:48 GMT
|
84
|
+
recorded_with: VCR 3.0.0
|
@@ -18,66 +18,67 @@ http_interactions:
|
|
18
18
|
code: 200
|
19
19
|
message: OK
|
20
20
|
headers:
|
21
|
-
|
22
|
-
-
|
21
|
+
Server:
|
22
|
+
- nginx/1.8.0
|
23
|
+
Date:
|
24
|
+
- Thu, 21 Jan 2016 18:36:58 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
X-Frame-Options:
|
32
|
+
- SAMEORIGIN
|
33
|
+
X-Xss-Protection:
|
34
|
+
- 1; mode=block
|
35
|
+
X-Content-Type-Options:
|
36
|
+
- nosniff
|
23
37
|
Access-Control-Allow-Methods:
|
24
38
|
- POST, GET, PUT, DELETE, OPTIONS
|
25
|
-
Access-Control-Max-Age:
|
26
|
-
- '1728000'
|
27
39
|
Access-Control-Request-Method:
|
28
40
|
- GET
|
41
|
+
Access-Control-Allow-Headers:
|
42
|
+
- Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
|
43
|
+
Access-Control-Max-Age:
|
44
|
+
- '1728000'
|
45
|
+
Etag:
|
46
|
+
- '"3751902acd719766864bf7423c27584b"'
|
29
47
|
Cache-Control:
|
30
48
|
- max-age=0, private, must-revalidate
|
31
|
-
Content-Type:
|
32
|
-
- application/json
|
33
|
-
Date:
|
34
|
-
- Tue, 06 Oct 2015 20:04:58 GMT
|
35
|
-
Etag:
|
36
|
-
- '"b43328f692243ac81c2839abe56d6984"'
|
37
|
-
Server:
|
38
|
-
- nginx/1.6.2
|
39
|
-
X-Content-Type-Options:
|
40
|
-
- nosniff
|
41
|
-
X-Frame-Options:
|
42
|
-
- SAMEORIGIN
|
43
49
|
X-Request-Id:
|
44
|
-
-
|
50
|
+
- daebfdf4-6b72-4a44-9422-18fe33c2b3f5
|
45
51
|
X-Runtime:
|
46
|
-
- '0.
|
47
|
-
X-Xss-Protection:
|
48
|
-
- 1; mode=block
|
49
|
-
Content-Length:
|
50
|
-
- '1081'
|
51
|
-
Connection:
|
52
|
-
- keep-alive
|
52
|
+
- '0.091476'
|
53
53
|
body:
|
54
54
|
encoding: ASCII-8BIT
|
55
55
|
string: !binary |-
|
56
56
|
ewogICJzdWdnZXN0aW9ucyI6IHsKICAgICJxdWVyeSI6ICIqIiwKICAgICJj
|
57
57
|
YXRlZ29yaWVzIjogWwogICAgICB7CiAgICAgICAgImNhdGVnb3J5X25hbWUi
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
OiA0MTQzLAogICAgICAgICJsb2dvX3VybCI6ICJodHRwczovL3N0YXRpYy1k
|
66
|
-
ZW1vLmF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29fdXJsIjogImh0dHBzOi8vc3Rh
|
79
|
+
dGljLWRlbW8uYWNjZXNzZGV2ZWxvcG1lbnQuY29tL2JyYW5kLzVkMGNmYzEx
|
80
|
+
ZTVkMTg3ZmRkYzgxM2QwZGU4YTViNDc4NTAzZGI3NDEvb3JpZ2luYWwucG5n
|
81
|
+
IgogICAgICB9CiAgICBdCiAgfQp9
|
81
82
|
http_version:
|
82
|
-
recorded_at:
|
83
|
-
recorded_with: VCR
|
83
|
+
recorded_at: Thu, 21 Jan 2016 18:37:03 GMT
|
84
|
+
recorded_with: VCR 3.0.0
|
@@ -18,38 +18,38 @@ http_interactions:
|
|
18
18
|
code: 200
|
19
19
|
message: OK
|
20
20
|
headers:
|
21
|
-
|
22
|
-
-
|
21
|
+
Server:
|
22
|
+
- nginx/1.8.0
|
23
|
+
Date:
|
24
|
+
- Thu, 21 Jan 2016 18:37:00 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
X-Frame-Options:
|
32
|
+
- SAMEORIGIN
|
33
|
+
X-Xss-Protection:
|
34
|
+
- 1; mode=block
|
35
|
+
X-Content-Type-Options:
|
36
|
+
- nosniff
|
23
37
|
Access-Control-Allow-Methods:
|
24
38
|
- POST, GET, PUT, DELETE, OPTIONS
|
25
|
-
Access-Control-Max-Age:
|
26
|
-
- '1728000'
|
27
39
|
Access-Control-Request-Method:
|
28
40
|
- GET
|
29
|
-
|
30
|
-
-
|
31
|
-
|
32
|
-
-
|
33
|
-
Date:
|
34
|
-
- Tue, 06 Oct 2015 20:04:58 GMT
|
41
|
+
Access-Control-Allow-Headers:
|
42
|
+
- Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
|
43
|
+
Access-Control-Max-Age:
|
44
|
+
- '1728000'
|
35
45
|
Etag:
|
36
46
|
- '"cdc9e19f6eb96655bd3773c1172d9712"'
|
37
|
-
|
38
|
-
-
|
39
|
-
X-Content-Type-Options:
|
40
|
-
- nosniff
|
41
|
-
X-Frame-Options:
|
42
|
-
- SAMEORIGIN
|
47
|
+
Cache-Control:
|
48
|
+
- max-age=0, private, must-revalidate
|
43
49
|
X-Request-Id:
|
44
|
-
-
|
50
|
+
- ced3cb21-cb68-46b6-a7e6-2b5da6b5b2b7
|
45
51
|
X-Runtime:
|
46
|
-
- '0.
|
47
|
-
X-Xss-Protection:
|
48
|
-
- 1; mode=block
|
49
|
-
Content-Length:
|
50
|
-
- '239'
|
51
|
-
Connection:
|
52
|
-
- keep-alive
|
52
|
+
- '0.015204'
|
53
53
|
body:
|
54
54
|
encoding: UTF-8
|
55
55
|
string: |-
|
@@ -66,5 +66,5 @@ http_interactions:
|
|
66
66
|
}
|
67
67
|
}
|
68
68
|
http_version:
|
69
|
-
recorded_at:
|
70
|
-
recorded_with: VCR
|
69
|
+
recorded_at: Thu, 21 Jan 2016 18:37:04 GMT
|
70
|
+
recorded_with: VCR 3.0.0
|