yotpo 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.ruby-version +1 -1
- data/.travis.yml +2 -1
- data/lib/yotpo/core/response_parser.rb +5 -12
- data/lib/yotpo/version.rb +1 -1
- data/spec/api/product_spec.rb +1 -1
- data/spec/api/purchase_spec.rb +0 -2
- data/spec/api/reminder_spec.rb +2 -1
- data/spec/api/review_spec.rb +2 -2
- data/spec/api/user_spec.rb +2 -2
- data/spec/cassettes/check_minisite_subdomain.yml +55 -55
- data/spec/cassettes/create_account_platform.yml +31 -34
- data/spec/cassettes/create_new_purchase.yml +30 -33
- data/spec/cassettes/create_new_purchases.yml +29 -32
- data/spec/cassettes/create_review.yml +34 -33
- data/spec/cassettes/create_user.yml +30 -30
- data/spec/cassettes/get_login_url.yml +28 -28
- data/spec/cassettes/get_oauth_token.yml +28 -28
- data/spec/cassettes/get_product_bottom_line.yml +28 -28
- data/spec/cassettes/get_product_reviews.yml +32 -49
- data/spec/cassettes/get_purchases.yml +56 -28
- data/spec/cassettes/send_test_reminder.yml +29 -32
- data/spec/cassettes/update_account.yml +51 -38
- data/spec/helper.rb +2 -2
- metadata +24 -38
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: d7a9e580cb6faa707e6b3be800fdc117f7f1c96c
|
4
|
+
data.tar.gz: 23421a95fd536630859582a52b1dc98dc2e4178a
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 8b88e8fb169c36474b03144fc317c28db39d5102bc8a8c6b2d537ed9114268d3ab0f4b2ebec2d0a7cf7a7b03e8db1f19557d3878ec4700e1db8450fff274f369
|
7
|
+
data.tar.gz: 06a495273741d6891e28899f81020409d6cef7caeca3d477177b08de01b1b3683a328d23d707db9fdc116a7c9c7eda6dec44d65389a3d3096e649bbf4a2e421d
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby-
|
1
|
+
ruby-2.2.1
|
data/.travis.yml
CHANGED
@@ -3,16 +3,9 @@ require 'faraday_middleware/response_middleware'
|
|
3
3
|
|
4
4
|
module Yotpo
|
5
5
|
class ResponseParser < Faraday::Response::Middleware
|
6
|
-
def
|
7
|
-
|
8
|
-
|
9
|
-
body = false
|
10
|
-
if env[:status] == 200
|
11
|
-
body = env[:response].body.response || env[:response].body
|
12
|
-
elsif env[:response] && env[:response].body && env[:response].body.status
|
13
|
-
body = env[:response].body.status
|
14
|
-
end
|
15
|
-
env[:body] = body
|
6
|
+
def parse(body)
|
7
|
+
unless body.empty?
|
8
|
+
body.response || body.status || body
|
16
9
|
end
|
17
10
|
end
|
18
11
|
end
|
@@ -80,5 +73,5 @@ module Yotpo
|
|
80
73
|
end
|
81
74
|
end
|
82
75
|
|
83
|
-
Faraday.register_middleware
|
84
|
-
Faraday.register_middleware
|
76
|
+
Faraday::Response.register_middleware oj: Yotpo::ParseOj
|
77
|
+
Faraday::Request.register_middleware oj: Yotpo::EncodeOj
|
data/lib/yotpo/version.rb
CHANGED
data/spec/api/product_spec.rb
CHANGED
data/spec/api/purchase_spec.rb
CHANGED
@@ -88,8 +88,6 @@ describe Yotpo::Purchase do
|
|
88
88
|
it { should respond_to :product_url }
|
89
89
|
it { should respond_to :order_date }
|
90
90
|
it { should respond_to :product_description }
|
91
|
-
it { should respond_to :product_image }
|
92
|
-
it { should respond_to :delivery_date }
|
93
91
|
it { should respond_to :created_at }
|
94
92
|
end
|
95
93
|
end
|
data/spec/api/reminder_spec.rb
CHANGED
data/spec/api/review_spec.rb
CHANGED
@@ -35,9 +35,9 @@ describe Yotpo::Review do
|
|
35
35
|
before(:all) do
|
36
36
|
get_reviews_params = {
|
37
37
|
page: 1,
|
38
|
-
count:
|
38
|
+
count: 10,
|
39
39
|
app_key: @app_key,
|
40
|
-
product_id: '
|
40
|
+
product_id: '120915246'
|
41
41
|
}
|
42
42
|
VCR.use_cassette('get_product_reviews') do
|
43
43
|
@response = Yotpo.get_product_reviews(get_reviews_params)
|
data/spec/api/user_spec.rb
CHANGED
@@ -5,7 +5,7 @@ describe Yotpo::User do
|
|
5
5
|
describe '#create_user' do
|
6
6
|
before(:all) do
|
7
7
|
@user_info = {
|
8
|
-
email: '
|
8
|
+
email: 'newuser4@email.com',
|
9
9
|
display_name: 'User Name',
|
10
10
|
first_name: 'First Name',
|
11
11
|
last_name: 'Last Name',
|
@@ -61,4 +61,4 @@ describe Yotpo::User do
|
|
61
61
|
it { should respond_to :signin_url }
|
62
62
|
|
63
63
|
end
|
64
|
-
end
|
64
|
+
end
|
@@ -2,98 +2,98 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://api.yotpo.com/apps/
|
5
|
+
uri: https://api.yotpo.com/apps/3ovRYNIb6OIAI0ddS7EfpYkHpi0oTKl6bj82Vjiy/subomain_check/shalom1?utoken=Ufo5XkKXNsuh0k9ZMPndRv4DlV9324ptg730KKqC
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Faraday v0.
|
11
|
+
- Faraday v0.9.1
|
12
12
|
Yotpo-Api-Connector:
|
13
|
-
- Ruby0.0.
|
13
|
+
- Ruby0.0.8
|
14
14
|
response:
|
15
15
|
status:
|
16
16
|
code: 200
|
17
17
|
message: OK
|
18
18
|
headers:
|
19
|
-
|
20
|
-
-
|
21
|
-
|
22
|
-
-
|
19
|
+
Access-Control-Allow-Credentials:
|
20
|
+
- 'true'
|
21
|
+
Cache-Control:
|
22
|
+
- max-age=0, private, must-revalidate
|
23
23
|
Content-Type:
|
24
24
|
- application/json; charset=utf-8
|
25
|
-
|
26
|
-
-
|
27
|
-
Connection:
|
28
|
-
- keep-alive
|
29
|
-
Status:
|
30
|
-
- 200 OK
|
31
|
-
X-Ua-Compatible:
|
32
|
-
- IE=Edge,chrome=1
|
25
|
+
Date:
|
26
|
+
- Sun, 19 Jul 2015 07:31:38 GMT
|
33
27
|
Etag:
|
34
|
-
-
|
35
|
-
Cache-Control:
|
36
|
-
- max-age=0, private, must-revalidate
|
37
|
-
X-Request-Id:
|
38
|
-
- 0668e57638cd193f8611b3830adab954
|
39
|
-
X-Runtime:
|
40
|
-
- '0.048419'
|
41
|
-
Strict-Transport-Security:
|
42
|
-
- max-age=2592000; includeSubdomains
|
28
|
+
- '"9c50c01193944b740719a84607eeaaa0"'
|
43
29
|
P3p:
|
44
30
|
- policyref="/w3c/p3p.xml", CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi
|
45
31
|
CONi HIS OUR IND CNT", CP="CAO PSA OUR"
|
32
|
+
Server:
|
33
|
+
- nginx
|
34
|
+
Status:
|
35
|
+
- 200 OK
|
36
|
+
X-Request-Id:
|
37
|
+
- 7f6b04640922626f263421850f690069
|
38
|
+
X-Runtime:
|
39
|
+
- '0.009236'
|
40
|
+
X-Ua-Compatible:
|
41
|
+
- IE=Edge,chrome=1
|
42
|
+
Content-Length:
|
43
|
+
- '106'
|
44
|
+
Connection:
|
45
|
+
- keep-alive
|
46
46
|
body:
|
47
|
-
encoding:
|
48
|
-
string:
|
47
|
+
encoding: UTF-8
|
48
|
+
string: '{"status":{"code":200,"message":"OK"},"response":{"subdomain":{"available":"true","subdomain":"shalom1"}}}'
|
49
49
|
http_version:
|
50
|
-
recorded_at:
|
50
|
+
recorded_at: Sun, 19 Jul 2015 07:31:38 GMT
|
51
51
|
- request:
|
52
52
|
method: get
|
53
|
-
uri: https://api.yotpo.com/apps/
|
53
|
+
uri: https://api.yotpo.com/apps/3ovRYNIb6OIAI0ddS7EfpYkHpi0oTKl6bj82Vjiy/bottom_lines?utoken=Ufo5XkKXNsuh0k9ZMPndRv4DlV9324ptg730KKqC
|
54
54
|
body:
|
55
55
|
encoding: US-ASCII
|
56
56
|
string: ''
|
57
57
|
headers:
|
58
58
|
User-Agent:
|
59
|
-
- Faraday v0.
|
59
|
+
- Faraday v0.9.1
|
60
60
|
Yotpo-Api-Connector:
|
61
|
-
- Ruby0.0.
|
61
|
+
- Ruby0.0.8
|
62
62
|
response:
|
63
63
|
status:
|
64
64
|
code: 200
|
65
65
|
message: OK
|
66
66
|
headers:
|
67
|
-
|
68
|
-
-
|
69
|
-
|
70
|
-
-
|
67
|
+
Access-Control-Allow-Credentials:
|
68
|
+
- 'true'
|
69
|
+
Cache-Control:
|
70
|
+
- max-age=0, private, must-revalidate
|
71
71
|
Content-Type:
|
72
72
|
- application/json; charset=utf-8
|
73
|
-
|
74
|
-
-
|
75
|
-
Connection:
|
76
|
-
- keep-alive
|
77
|
-
Status:
|
78
|
-
- 200 OK
|
79
|
-
X-Ua-Compatible:
|
80
|
-
- IE=Edge,chrome=1
|
73
|
+
Date:
|
74
|
+
- Sun, 19 Jul 2015 07:31:40 GMT
|
81
75
|
Etag:
|
82
|
-
-
|
83
|
-
Cache-Control:
|
84
|
-
- max-age=0, private, must-revalidate
|
85
|
-
X-Request-Id:
|
86
|
-
- 03d1b28badec093fa1baac500c01b002
|
87
|
-
X-Runtime:
|
88
|
-
- '0.053200'
|
89
|
-
Strict-Transport-Security:
|
90
|
-
- max-age=2592000; includeSubdomains
|
76
|
+
- '"b18b1a5e5b4f24aa1bc24d8df541a235"'
|
91
77
|
P3p:
|
92
78
|
- policyref="/w3c/p3p.xml", CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi
|
93
79
|
CONi HIS OUR IND CNT", CP="CAO PSA OUR"
|
80
|
+
Server:
|
81
|
+
- nginx
|
82
|
+
Status:
|
83
|
+
- 200 OK
|
84
|
+
X-Request-Id:
|
85
|
+
- ffc772913acdbd209952de88a7cdc65c
|
86
|
+
X-Runtime:
|
87
|
+
- '0.014414'
|
88
|
+
X-Ua-Compatible:
|
89
|
+
- IE=Edge,chrome=1
|
90
|
+
Content-Length:
|
91
|
+
- '198'
|
92
|
+
Connection:
|
93
|
+
- keep-alive
|
94
94
|
body:
|
95
|
-
encoding:
|
96
|
-
string:
|
95
|
+
encoding: UTF-8
|
96
|
+
string: '{"status":{"code":200,"message":"OK"},"response":{"bottomlines":[{"domain_key":"120915246","product_score":"4.0","total_reviews":1},{"domain_key":"D-4771","product_score":"4.0","total_reviews":2}]}}'
|
97
97
|
http_version:
|
98
|
-
recorded_at:
|
99
|
-
recorded_with: VCR 2.
|
98
|
+
recorded_at: Sun, 19 Jul 2015 07:31:40 GMT
|
99
|
+
recorded_with: VCR 2.9.3
|
@@ -2,16 +2,16 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: https://api.yotpo.com/apps/
|
5
|
+
uri: https://api.yotpo.com/apps/3ovRYNIb6OIAI0ddS7EfpYkHpi0oTKl6bj82Vjiy/account_platform
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string:
|
9
|
-
plan","platform_type_id":1,"deleted":false},"utoken":"
|
8
|
+
string: '{"account_platform":{"shop_token":"asdasdadads","shop_domain":"yahoo.com","plan_name":"test
|
9
|
+
plan","platform_type_id":1,"deleted":false},"utoken":"Ufo5XkKXNsuh0k9ZMPndRv4DlV9324ptg730KKqC"}'
|
10
10
|
headers:
|
11
11
|
User-Agent:
|
12
|
-
- Faraday v0.
|
12
|
+
- Faraday v0.9.1
|
13
13
|
Yotpo-Api-Connector:
|
14
|
-
- Ruby0.0.
|
14
|
+
- Ruby0.0.8
|
15
15
|
Content-Type:
|
16
16
|
- application/json
|
17
17
|
response:
|
@@ -19,40 +19,37 @@ http_interactions:
|
|
19
19
|
code: 200
|
20
20
|
message: OK
|
21
21
|
headers:
|
22
|
-
|
23
|
-
-
|
24
|
-
|
25
|
-
-
|
22
|
+
Access-Control-Allow-Credentials:
|
23
|
+
- 'true'
|
24
|
+
Cache-Control:
|
25
|
+
- max-age=0, private, must-revalidate
|
26
26
|
Content-Type:
|
27
27
|
- application/json; charset=utf-8
|
28
|
-
|
29
|
-
-
|
30
|
-
Connection:
|
31
|
-
- keep-alive
|
32
|
-
Status:
|
33
|
-
- 200 OK
|
34
|
-
X-Ua-Compatible:
|
35
|
-
- IE=Edge,chrome=1
|
28
|
+
Date:
|
29
|
+
- Sun, 19 Jul 2015 07:31:39 GMT
|
36
30
|
Etag:
|
37
|
-
-
|
38
|
-
Cache-Control:
|
39
|
-
- max-age=0, private, must-revalidate
|
40
|
-
Set-Cookie:
|
41
|
-
- _yotpo-api-1_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRkkiJTM4ZTJmNzk1Y2QyNTRiZmMzZDBjNDJmNDg4ZWM0MjRiBjsAVA%3D%3D--8308bb590105ad5cf5c422f4180038cd0504663f;
|
42
|
-
path=/; HttpOnly
|
43
|
-
X-Request-Id:
|
44
|
-
- 9a131cbb7ece84043cc91038980b6a8b
|
45
|
-
X-Runtime:
|
46
|
-
- '0.051893'
|
47
|
-
Strict-Transport-Security:
|
48
|
-
- max-age=2592000; includeSubdomains
|
31
|
+
- '"8186bb3d10d92194eed51d7a44ea5798"'
|
49
32
|
P3p:
|
50
33
|
- policyref="/w3c/p3p.xml", CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi
|
51
34
|
CONi HIS OUR IND CNT", CP="CAO PSA OUR"
|
35
|
+
Server:
|
36
|
+
- nginx
|
37
|
+
Status:
|
38
|
+
- 200 OK
|
39
|
+
X-Request-Id:
|
40
|
+
- d7754e43647397d5716cd122bd54358f
|
41
|
+
X-Runtime:
|
42
|
+
- '0.125850'
|
43
|
+
X-Ua-Compatible:
|
44
|
+
- IE=Edge,chrome=1
|
45
|
+
Content-Length:
|
46
|
+
- '577'
|
47
|
+
Connection:
|
48
|
+
- keep-alive
|
52
49
|
body:
|
53
|
-
encoding:
|
54
|
-
string:
|
55
|
-
|
50
|
+
encoding: UTF-8
|
51
|
+
string: '{"status":{"code":200,"message":"OK"},"response":{"account_platform":{"id":19340,"shop_token":"0ececa38a17419d3d3bd2326ff4fe967","shop_secret":null,"shop_domain":"vlad-test-shop.myshopify.com","plan_name":"affiliate","platform_type":{"id":1,"name":"shopify","description":"cool
|
52
|
+
e-commerece host and platform","billable":true},"deleted":false,"shop_user_name":null,"secondary_cancelled_charge_at":"2013-10-01T13:17:27Z","secondary_activated_charge_at":null,"secondary_recurring_charge_id":null,"secondary_shop_token":null,"encrypted_data":null,"integration_version":"current"}}}'
|
56
53
|
http_version:
|
57
|
-
recorded_at:
|
58
|
-
recorded_with: VCR 2.
|
54
|
+
recorded_at: Sun, 19 Jul 2015 07:31:38 GMT
|
55
|
+
recorded_with: VCR 2.9.3
|
@@ -2,17 +2,17 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: https://api.yotpo.com/apps/
|
5
|
+
uri: https://api.yotpo.com/apps/3ovRYNIb6OIAI0ddS7EfpYkHpi0oTKl6bj82Vjiy/purchases
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string:
|
9
|
-
Name","order_id":"123","platform":"shopify","products":[{"p1":{"url":"http://example_product_url1.com","name":"product1","image":"http://example_product_image_url1.com","description":"this
|
8
|
+
string: '{"utoken":"Ufo5XkKXNsuh0k9ZMPndRv4DlV9324ptg730KKqC","email":"some@one.com","customer_name":"Customer
|
9
|
+
Name","order_date":null,"currency_iso":null,"order_id":"123","platform":"shopify","products":[{"p1":{"url":"http://example_product_url1.com","name":"product1","image":"http://example_product_image_url1.com","description":"this
|
10
10
|
is the description of a product"}}]}'
|
11
11
|
headers:
|
12
12
|
User-Agent:
|
13
|
-
- Faraday v0.
|
13
|
+
- Faraday v0.9.1
|
14
14
|
Yotpo-Api-Connector:
|
15
|
-
- Ruby0.0.
|
15
|
+
- Ruby0.0.8
|
16
16
|
Content-Type:
|
17
17
|
- application/json
|
18
18
|
response:
|
@@ -20,39 +20,36 @@ http_interactions:
|
|
20
20
|
code: 200
|
21
21
|
message: OK
|
22
22
|
headers:
|
23
|
-
|
24
|
-
-
|
25
|
-
|
26
|
-
-
|
23
|
+
Access-Control-Allow-Credentials:
|
24
|
+
- 'true'
|
25
|
+
Cache-Control:
|
26
|
+
- max-age=0, private, must-revalidate
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
|
-
|
30
|
-
-
|
31
|
-
Connection:
|
32
|
-
- keep-alive
|
33
|
-
Status:
|
34
|
-
- 200 OK
|
35
|
-
X-Ua-Compatible:
|
36
|
-
- IE=Edge,chrome=1
|
29
|
+
Date:
|
30
|
+
- Sun, 19 Jul 2015 07:31:39 GMT
|
37
31
|
Etag:
|
38
|
-
-
|
39
|
-
Cache-Control:
|
40
|
-
- max-age=0, private, must-revalidate
|
41
|
-
Set-Cookie:
|
42
|
-
- _yotpo-api-1_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRkkiJWJkNDI0YTVkZjE4MzA4MDhjYmM4ZGFjYjY4OGEwY2E1BjsAVA%3D%3D--057a48270d4662f36f7850a570eb60e4e1c29877;
|
43
|
-
path=/; HttpOnly
|
44
|
-
X-Request-Id:
|
45
|
-
- 3c3ca9c567e50344b4b759e7709787a2
|
46
|
-
X-Runtime:
|
47
|
-
- '0.160472'
|
48
|
-
Strict-Transport-Security:
|
49
|
-
- max-age=2592000; includeSubdomains
|
32
|
+
- '"ff338c05e925e0da825f92d06e112107"'
|
50
33
|
P3p:
|
51
34
|
- policyref="/w3c/p3p.xml", CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi
|
52
35
|
CONi HIS OUR IND CNT", CP="CAO PSA OUR"
|
36
|
+
Server:
|
37
|
+
- nginx
|
38
|
+
Status:
|
39
|
+
- 200 OK
|
40
|
+
X-Request-Id:
|
41
|
+
- 9d186752f753abed9ce9bb2a1ef08aff
|
42
|
+
X-Runtime:
|
43
|
+
- '0.024236'
|
44
|
+
X-Ua-Compatible:
|
45
|
+
- IE=Edge,chrome=1
|
46
|
+
Content-Length:
|
47
|
+
- '27'
|
48
|
+
Connection:
|
49
|
+
- keep-alive
|
53
50
|
body:
|
54
|
-
encoding:
|
55
|
-
string:
|
51
|
+
encoding: UTF-8
|
52
|
+
string: '{"code":200,"message":"OK"}'
|
56
53
|
http_version:
|
57
|
-
recorded_at:
|
58
|
-
recorded_with: VCR 2.
|
54
|
+
recorded_at: Sun, 19 Jul 2015 07:31:38 GMT
|
55
|
+
recorded_with: VCR 2.9.3
|
@@ -2,17 +2,17 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: https://api.yotpo.com/apps/
|
5
|
+
uri: https://api.yotpo.com/apps/3ovRYNIb6OIAI0ddS7EfpYkHpi0oTKl6bj82Vjiy/purchases/mass_create
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string:
|
8
|
+
string: '{"utoken":"Ufo5XkKXNsuh0k9ZMPndRv4DlV9324ptg730KKqC","platform":null,"orders":[{"email":"another@one.com","customer_name":"Another
|
9
9
|
Name","order_id":"123","platform":"shopify","products":[{"p1":{"url":"http://example_product_url1.com","name":"product1","image":"http://example_product_image_url1.com","description":"this
|
10
10
|
is the description of a product"}}]}]}'
|
11
11
|
headers:
|
12
12
|
User-Agent:
|
13
|
-
- Faraday v0.
|
13
|
+
- Faraday v0.9.1
|
14
14
|
Yotpo-Api-Connector:
|
15
|
-
- Ruby0.0.
|
15
|
+
- Ruby0.0.8
|
16
16
|
Content-Type:
|
17
17
|
- application/json
|
18
18
|
response:
|
@@ -20,39 +20,36 @@ http_interactions:
|
|
20
20
|
code: 200
|
21
21
|
message: OK
|
22
22
|
headers:
|
23
|
-
|
24
|
-
-
|
25
|
-
|
26
|
-
-
|
23
|
+
Access-Control-Allow-Credentials:
|
24
|
+
- 'true'
|
25
|
+
Cache-Control:
|
26
|
+
- max-age=0, private, must-revalidate
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
|
-
|
30
|
-
-
|
31
|
-
Connection:
|
32
|
-
- keep-alive
|
33
|
-
Status:
|
34
|
-
- 200 OK
|
35
|
-
X-Ua-Compatible:
|
36
|
-
- IE=Edge,chrome=1
|
29
|
+
Date:
|
30
|
+
- Sun, 19 Jul 2015 07:31:39 GMT
|
37
31
|
Etag:
|
38
|
-
-
|
39
|
-
Cache-Control:
|
40
|
-
- max-age=0, private, must-revalidate
|
41
|
-
Set-Cookie:
|
42
|
-
- _yotpo-api-1_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRkkiJTcyMjg2YTIzMTU3YWNmZTNjZWE4Zjk4NWM4NjEzMGRjBjsAVA%3D%3D--e8fec5b0273c668afe06ca5d4908b43d79e07829;
|
43
|
-
path=/; HttpOnly
|
44
|
-
X-Request-Id:
|
45
|
-
- a111f7d451fc7c8819e85e51bbbec6e3
|
46
|
-
X-Runtime:
|
47
|
-
- '0.053530'
|
48
|
-
Strict-Transport-Security:
|
49
|
-
- max-age=2592000; includeSubdomains
|
32
|
+
- '"ff338c05e925e0da825f92d06e112107"'
|
50
33
|
P3p:
|
51
34
|
- policyref="/w3c/p3p.xml", CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi
|
52
35
|
CONi HIS OUR IND CNT", CP="CAO PSA OUR"
|
36
|
+
Server:
|
37
|
+
- nginx
|
38
|
+
Status:
|
39
|
+
- 200 OK
|
40
|
+
X-Request-Id:
|
41
|
+
- c32ec0e70c07402aaf098ecb0a8b0acf
|
42
|
+
X-Runtime:
|
43
|
+
- '0.016271'
|
44
|
+
X-Ua-Compatible:
|
45
|
+
- IE=Edge,chrome=1
|
46
|
+
Content-Length:
|
47
|
+
- '27'
|
48
|
+
Connection:
|
49
|
+
- keep-alive
|
53
50
|
body:
|
54
|
-
encoding:
|
55
|
-
string:
|
51
|
+
encoding: UTF-8
|
52
|
+
string: '{"code":200,"message":"OK"}'
|
56
53
|
http_version:
|
57
|
-
recorded_at:
|
58
|
-
recorded_with: VCR 2.
|
54
|
+
recorded_at: Sun, 19 Jul 2015 07:31:39 GMT
|
55
|
+
recorded_with: VCR 2.9.3
|