yotpo 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
@@ -1 +1 @@
1
- ruby-1.9.3-p194
1
+ ruby-2.2.1
@@ -1,4 +1,5 @@
1
1
  language: ruby
2
2
  rvm:
3
3
  - 1.9.3
4
- - 2.0.0
4
+ - 2.1.1
5
+ - ruby-head
@@ -3,16 +3,9 @@ require 'faraday_middleware/response_middleware'
3
3
 
4
4
  module Yotpo
5
5
  class ResponseParser < Faraday::Response::Middleware
6
- def call(env)
7
- # "env" contains the request
8
- @app.call(env).on_complete do
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 :response, oj: Yotpo::ParseOj
84
- Faraday.register_middleware :request, oj: Yotpo::EncodeOj
76
+ Faraday::Response.register_middleware oj: Yotpo::ParseOj
77
+ Faraday::Request.register_middleware oj: Yotpo::EncodeOj
@@ -1,3 +1,3 @@
1
1
  module Yotpo
2
- VERSION = '0.0.8'
2
+ VERSION = '0.0.9'
3
3
  end
@@ -22,7 +22,7 @@ describe Yotpo::Product do
22
22
  describe '#get_product_bottom_line' do
23
23
  before(:all) do
24
24
  get_bottom_line_params = {
25
- product_id: 'D-4771',
25
+ product_id: '120915246',
26
26
  app_key: @app_key
27
27
  }
28
28
  VCR.use_cassette('get_product_bottom_line') do
@@ -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
@@ -15,7 +15,8 @@ describe Yotpo::Reminder do
15
15
  end
16
16
  subject { @response.body }
17
17
  it { should be_a ::Hashie::Rash }
18
- it { should respond_to :status }
18
+ it { should respond_to :code }
19
+ it { should respond_to :message }
19
20
  end
20
21
  end
21
22
  end
@@ -35,9 +35,9 @@ describe Yotpo::Review do
35
35
  before(:all) do
36
36
  get_reviews_params = {
37
37
  page: 1,
38
- count: 5,
38
+ count: 10,
39
39
  app_key: @app_key,
40
- product_id: 'D-4771'
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)
@@ -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: 'newuser@email.com',
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/nNgGNA54ETOqaXQ7hRZymxqdtwwetJKDVs0v8qGG/subomain_check/shalom1?utoken=SjXjHQ01wUj7dezYWbqCT4aixbY4UudTJReqxk2A
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.8.7
11
+ - Faraday v0.9.1
12
12
  Yotpo-Api-Connector:
13
- - Ruby0.0.5
13
+ - Ruby0.0.8
14
14
  response:
15
15
  status:
16
16
  code: 200
17
17
  message: OK
18
18
  headers:
19
- Server:
20
- - nginx/1.2.1
21
- Date:
22
- - Thu, 23 May 2013 14:18:50 GMT
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
- Transfer-Encoding:
26
- - chunked
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
- - ! '"9c50c01193944b740719a84607eeaaa0"'
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: US-ASCII
48
- string: ! '{"status":{"code":200,"message":"OK"},"response":{"subdomain":{"available":"true","subdomain":"shalom1"}}}'
47
+ encoding: UTF-8
48
+ string: '{"status":{"code":200,"message":"OK"},"response":{"subdomain":{"available":"true","subdomain":"shalom1"}}}'
49
49
  http_version:
50
- recorded_at: Thu, 23 May 2013 14:18:50 GMT
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/nNgGNA54ETOqaXQ7hRZymxqdtwwetJKDVs0v8qGG/bottom_lines?utoken=SjXjHQ01wUj7dezYWbqCT4aixbY4UudTJReqxk2A
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.8.7
59
+ - Faraday v0.9.1
60
60
  Yotpo-Api-Connector:
61
- - Ruby0.0.5
61
+ - Ruby0.0.8
62
62
  response:
63
63
  status:
64
64
  code: 200
65
65
  message: OK
66
66
  headers:
67
- Server:
68
- - nginx/1.2.1
69
- Date:
70
- - Thu, 23 May 2013 14:18:54 GMT
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
- Transfer-Encoding:
74
- - chunked
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
- - ! '"3bd4ea3f4ca23a43afb807a0c6716b41"'
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: US-ASCII
96
- string: ! '{"status":{"code":200,"message":"OK"},"response":{"bottomlines":[{"domain_key":"D-4771","product_score":"2.92","total_reviews":103},{"domain_key":"S5","product_score":"4.5","total_reviews":2},{"domain_key":"123","product_score":"5.0","total_reviews":4}]}}'
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: Thu, 23 May 2013 14:18:54 GMT
99
- recorded_with: VCR 2.2.5
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/nNgGNA54ETOqaXQ7hRZymxqdtwwetJKDVs0v8qGG/account_platform
5
+ uri: https://api.yotpo.com/apps/3ovRYNIb6OIAI0ddS7EfpYkHpi0oTKl6bj82Vjiy/account_platform
6
6
  body:
7
7
  encoding: UTF-8
8
- string: ! '{"account_platform":{"shop_token":"asdasdadads","shop_domain":"yahoo.com","plan_name":"test
9
- plan","platform_type_id":1,"deleted":false},"utoken":"SjXjHQ01wUj7dezYWbqCT4aixbY4UudTJReqxk2A"}'
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.8.7
12
+ - Faraday v0.9.1
13
13
  Yotpo-Api-Connector:
14
- - Ruby0.0.5
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
- Server:
23
- - nginx/1.2.1
24
- Date:
25
- - Thu, 23 May 2013 14:18:53 GMT
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
- Transfer-Encoding:
29
- - chunked
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
- - ! '"a256df543f1a87337d22e71180e5dd02"'
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: US-ASCII
54
- string: ! '{"status":{"code":200,"message":"OK"},"response":{"account_platform":{"id":1,"shop_token":null,"shop_domain":null,"plan_name":null,"platform_type":{"id":2,"name":"general","description":"users
55
- that signup for general purpose","billable":false},"deleted":null,"shop_user_name":null,"secondary_cancelled_charge_at":null,"secondary_activated_charge_at":null,"secondary_recurring_charge_id":null,"secondary_shop_token":null}}}'
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: Thu, 23 May 2013 14:18:53 GMT
58
- recorded_with: VCR 2.2.5
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/nNgGNA54ETOqaXQ7hRZymxqdtwwetJKDVs0v8qGG/purchases
5
+ uri: https://api.yotpo.com/apps/3ovRYNIb6OIAI0ddS7EfpYkHpi0oTKl6bj82Vjiy/purchases
6
6
  body:
7
7
  encoding: UTF-8
8
- string: ! '{"utoken":"SjXjHQ01wUj7dezYWbqCT4aixbY4UudTJReqxk2A","email":"some@one.com","customer_name":"Customer
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.8.7
13
+ - Faraday v0.9.1
14
14
  Yotpo-Api-Connector:
15
- - Ruby0.0.5
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
- Server:
24
- - nginx/1.2.1
25
- Date:
26
- - Thu, 23 May 2013 14:18:53 GMT
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
- Transfer-Encoding:
30
- - chunked
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
- - ! '"ff338c05e925e0da825f92d06e112107"'
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: US-ASCII
55
- string: ! '{"code":200,"message":"OK"}'
51
+ encoding: UTF-8
52
+ string: '{"code":200,"message":"OK"}'
56
53
  http_version:
57
- recorded_at: Thu, 23 May 2013 14:18:53 GMT
58
- recorded_with: VCR 2.2.5
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/nNgGNA54ETOqaXQ7hRZymxqdtwwetJKDVs0v8qGG/purchases/mass_create
5
+ uri: https://api.yotpo.com/apps/3ovRYNIb6OIAI0ddS7EfpYkHpi0oTKl6bj82Vjiy/purchases/mass_create
6
6
  body:
7
7
  encoding: UTF-8
8
- string: ! '{"utoken":"SjXjHQ01wUj7dezYWbqCT4aixbY4UudTJReqxk2A","orders":[{"email":"another@one.com","customer_name":"Another
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.8.7
13
+ - Faraday v0.9.1
14
14
  Yotpo-Api-Connector:
15
- - Ruby0.0.5
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
- Server:
24
- - nginx/1.2.1
25
- Date:
26
- - Thu, 23 May 2013 14:18:52 GMT
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
- Transfer-Encoding:
30
- - chunked
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
- - ! '"c09c7c5e1681219e88278dab7a45d672"'
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: US-ASCII
55
- string: ! '{"code":500,"message":"Failure. no such platform: "}'
51
+ encoding: UTF-8
52
+ string: '{"code":200,"message":"OK"}'
56
53
  http_version:
57
- recorded_at: Thu, 23 May 2013 14:18:52 GMT
58
- recorded_with: VCR 2.2.5
54
+ recorded_at: Sun, 19 Jul 2015 07:31:39 GMT
55
+ recorded_with: VCR 2.9.3