reviewed 0.2.2 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/reviewed.rb +1 -0
- data/lib/reviewed/article.rb +3 -11
- data/lib/reviewed/attachable.rb +21 -0
- data/lib/reviewed/attachment.rb +1 -0
- data/lib/reviewed/base.rb +20 -6
- data/lib/reviewed/client.rb +24 -9
- data/lib/reviewed/collection.rb +1 -1
- data/lib/reviewed/embeddable.rb +4 -0
- data/lib/reviewed/product.rb +2 -11
- data/lib/reviewed/request.rb +9 -7
- data/lib/reviewed/version.rb +1 -1
- data/spec/article_spec.rb +8 -6
- data/spec/base_spec.rb +16 -3
- data/spec/client_spec.rb +22 -19
- data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/assigns_attachments_to_the_correct_class.yml +330 -0
- data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/does_not_has_many_attachments.yml +249 -0
- data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/does_not_have_any_matching_attachments.yml +296 -593
- data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/finds_attachments_by_tag.yml +307 -593
- data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/gets_gallery_attachments.yml +327 -0
- data/spec/fixtures/vcr/Reviewed_Article/associations/deals/has_many_deals.yml +236 -571
- data/spec/fixtures/vcr/Reviewed_Article/associations/pages/has_many_pages.yml +241 -593
- data/spec/fixtures/vcr/Reviewed_Article/associations/products/has_many_products.yml +236 -569
- data/spec/fixtures/vcr/Reviewed_Article/associations/products/returns_products_of_the_correct_class.yml +241 -593
- data/spec/fixtures/vcr/Reviewed_Article/associations/related_articles/has_many_related_articles.yml +236 -584
- data/spec/fixtures/vcr/Reviewed_Article/find_page/finds_a_page_with_a_matching_slug.yml +393 -769
- data/spec/fixtures/vcr/Reviewed_Article/primary_product/returns_a_product_of_the_correct_class.yml +480 -1184
- data/spec/fixtures/vcr/Reviewed_Article/primary_product/returns_nil_if_does_not_respond_to_products.yml +480 -1184
- data/spec/fixtures/vcr/Reviewed_Article/primary_product/returns_the_primary_product.yml +480 -1184
- data/spec/fixtures/vcr/Reviewed_Client/_perform/request_params/not_set/has_nil_query_params.yml +205 -246
- data/spec/fixtures/vcr/Reviewed_Client/_perform/request_params/set/merges_quest_params.yml +73 -90
- data/spec/fixtures/vcr/Reviewed_Collection/collection_data/fetches_the_first_page_by_default.yml +115 -175
- data/spec/fixtures/vcr/Reviewed_Collection/collection_data/is_enumerable.yml +115 -175
- data/spec/fixtures/vcr/Reviewed_Collection/next_page/fetches_the_next_page_of_results.yml +202 -295
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/indicates_if_the_page_number_is_out_of_bounds.yml +115 -175
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/indicates_whether_this_is_the_first_or_last_page.yml +115 -175
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_limit_value_max_per_page_.yml +115 -175
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_number_of_entries_on_the_current_page.yml +115 -175
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_offset.yml +115 -175
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_total_item_count.yml +115 -175
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_total_number_of_pages.yml +115 -175
- data/spec/fixtures/vcr/Reviewed_Collection/previous_page/fetches_the_previous_page_of_results.yml +315 -468
- data/spec/fixtures/vcr/Reviewed_Collection/previous_page/returns_nil_if_there_is_no_previous_page.yml +115 -175
- data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/does_not_have_any_matching_attachments.yml +138 -108
- data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/matches_attachments_by_tag_properly.yml +157 -0
- data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/no_longer_has_many_attachments.yml +91 -0
- data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/returns_attachments_by_tag.yml +157 -0
- data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/returns_attachments_of_the_correct_class.yml +138 -111
- data/spec/fixtures/vcr/Reviewed_Product/manufacturer_specs/has_many_manufacturer_specs.yml +83 -108
- data/spec/fixtures/vcr/Reviewed_Product/manufacturer_specs/returns_attachments_of_the_correct_class.yml +83 -108
- data/spec/fixtures/vcr/Reviewed_Request/_where/filters_collections_using_other_supported_options.yml +69 -102
- data/spec/fixtures/vcr/Reviewed_Request/_where/returns_a_collection.yml +205 -246
- data/spec/fixtures/vcr/Reviewed_Request/_where/returns_an_empty_set_if_no_matching_data_was_found.yml +50 -75
- data/spec/fixtures/vcr/Reviewed_Request/_where/returns_the_appropriate_page_of_results.yml +210 -280
- data/spec/fixtures/vcr/Reviewed_Request/collection_from_response/returns_a_collection_object.yml +205 -246
- data/spec/fixtures/vcr/Reviewed_Request/collection_from_response/returns_objects_of_the_correct_class.yml +205 -246
- data/spec/fixtures/vcr/Reviewed_Request/object_from_response/returns_an_object_of_the_correct_class.yml +241 -593
- data/spec/product_spec.rb +6 -7
- data/spec/request_spec.rb +18 -8
- data/spec/spec_helper.rb +8 -2
- metadata +15 -14
- data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/has_many_attachments.yml +0 -601
- data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/returns_all_attachments.yml +0 -601
- data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/returns_attachments_of_the_correct_class.yml +0 -601
- data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/finds_attachments_by_tag.yml +0 -116
- data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/has_many_attachments.yml +0 -119
- data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/returns_all_attachments.yml +0 -116
@@ -1,116 +1,91 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
6
|
-
body:
|
5
|
+
uri: http://localhost:3000/api/v1/products/minden-master-ii
|
6
|
+
body:
|
7
7
|
encoding: US-ASCII
|
8
|
-
string:
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
8
|
+
string: ""
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
11
|
- Faraday v0.8.6
|
12
|
-
X-Reviewed-Authorization:
|
13
|
-
-
|
14
|
-
Accept-Encoding:
|
12
|
+
X-Reviewed-Authorization:
|
13
|
+
- 5bbeff36f992bbb2f6dcaf37f3e630d8
|
14
|
+
Accept-Encoding:
|
15
15
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
-
Accept:
|
17
|
-
-
|
18
|
-
response:
|
19
|
-
status:
|
16
|
+
Accept:
|
17
|
+
- "*/*"
|
18
|
+
response:
|
19
|
+
status:
|
20
20
|
code: 200
|
21
|
-
message:
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
-
|
26
|
-
|
27
|
-
|
28
|
-
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
-
|
34
|
-
|
35
|
-
|
36
|
-
-
|
37
|
-
|
38
|
-
|
39
|
-
-
|
40
|
-
|
41
|
-
|
42
|
-
-
|
43
|
-
|
44
|
-
|
45
|
-
-
|
46
|
-
|
47
|
-
|
48
|
-
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
RnJpLCAyMiBNYXIgMjAxMyAxOTo0MToyMSBHTVQ=
|
53
|
-
!binary "U3RyaWN0LVRyYW5zcG9ydC1TZWN1cml0eQ==":
|
54
|
-
- !binary |-
|
55
|
-
bWF4LWFnZT0zMTUzNjAwMA==
|
56
|
-
!binary "VmFyeQ==":
|
57
|
-
- !binary |-
|
58
|
-
QWNjZXB0LUVuY29kaW5n
|
59
|
-
!binary "WC1SYWNrLUNhY2hl":
|
60
|
-
- !binary |-
|
61
|
-
bWlzcw==
|
62
|
-
!binary "WC1SZXF1ZXN0LUlk":
|
63
|
-
- !binary |-
|
64
|
-
YWRlOTE5YTIzNGI3NDk1NWI3MWNiMGYyNjA5ZmFmODA=
|
65
|
-
!binary "WC1SdW50aW1l":
|
66
|
-
- !binary |-
|
67
|
-
MC4zMzEwNDk=
|
68
|
-
!binary "WC1VYS1Db21wYXRpYmxl":
|
69
|
-
- !binary |-
|
70
|
-
SUU9RWRnZSxjaHJvbWU9MQ==
|
71
|
-
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
72
|
-
- !binary |-
|
73
|
-
Y2h1bmtlZA==
|
74
|
-
!binary "Q29ubmVjdGlvbg==":
|
75
|
-
- !binary |-
|
76
|
-
a2VlcC1hbGl2ZQ==
|
77
|
-
body:
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Access-Control-Allow-Origin:
|
24
|
+
- "*"
|
25
|
+
Access-Control-Allow-Methods:
|
26
|
+
- OPTIONS, GET, POST, PUT, DELETE
|
27
|
+
Access-Control-Max-Age:
|
28
|
+
- "1000"
|
29
|
+
Access-Control-Allow-Credentials:
|
30
|
+
- "true"
|
31
|
+
Access-Control-Allow-Headers:
|
32
|
+
- x-pagination, x-requested-with, x-requested-by, x-reviewed-authorization, x-skip-cache, Content-Type
|
33
|
+
Cache-Control:
|
34
|
+
- no-cache, no-store
|
35
|
+
Content-Type:
|
36
|
+
- application/json; charset=utf-8
|
37
|
+
Vary:
|
38
|
+
- Accept-Encoding
|
39
|
+
Content-Encoding:
|
40
|
+
- gzip
|
41
|
+
X-Ua-Compatible:
|
42
|
+
- IE=Edge
|
43
|
+
X-Request-Id:
|
44
|
+
- 8621394faa24dcdc774f20b2ec0d5200
|
45
|
+
X-Runtime:
|
46
|
+
- "0.160183"
|
47
|
+
Connection:
|
48
|
+
- close
|
49
|
+
Server:
|
50
|
+
- thin 1.5.1 codename Straight Razor
|
51
|
+
body:
|
78
52
|
encoding: ASCII-8BIT
|
79
|
-
string: !binary
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
/
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
53
|
+
string: !binary |
|
54
|
+
H4sIAFO4bVEAA8RZbW/bNhD+K4Y+dZgdkXq1BAwD1q5dgKYNWn/ZikCgRNpm
|
55
|
+
K4sCSSVNi/z3HSXZsp1IdtfZCYIEJB/yHh7veMfTd4tTK7Z8NCcuCoMoIKk/
|
56
|
+
DRAOUBaSkFljK5OMaEYTogHnIOxMkD/B/szBMXZi7P8DmKqkOxh3gtwJxgaD
|
57
|
+
/NjxDKYgKwajV7ygrBhdEaWZHF1ewojKqwWMrOqRyaoemXAOI4m+L82kv8SK
|
58
|
+
xfEbyfNcwX+iYMwMKSv+ZF1LUZKCWTdja6VkacVeGF2gsUWk5lnOEk5rGGwx
|
59
|
+
dViYphQ504D6vg88A9818+5YqrjegrIgiGjYQL0pQ+bHqaFlleZcLRNRbKtj
|
60
|
+
OsNR7HoxQr8iBH9rnWRWXFR5DnMkz1iykCRNmUxqhQNAVin0180GlkpS0GR9
|
61
|
+
HhGjYdYwCNyaghM6MG0lKMuNIrc0KJkSlQQZleQwZJdS0CrTyn5Cp0RmS37L
|
62
|
+
EqXhyACc3ifm8GCEq0RlQvJikaREsZyDUuM5yRXbzKKbjlZEIomGCestwA6+
|
63
|
+
1M3vlhaa5Nv9G20wYFponrOm52GtCjOrtRKrhq24UlwUygyAFYJwLSu2NskN
|
64
|
+
lcb6Nk3KlJbivm3D6qTkCWzmS71OJvKcZZqb8zOrGlXagLBvsd3QMMa1lGwO
|
65
|
+
A0uty9i2c5GRfCmUjl04hn30Q6f//23Jh4eNURqL/L720h67fOyl4IF4grwZ
|
66
|
+
uB+YZa+X4gmOZiiIP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TgTlWCYSuSd
|
82
|
+
RyutnENU3DN4UCvnEBWMz0MF5AxQEW1kPDWVPgbwxs5I2bzbm3cHyXXzHmnb
|
83
|
+
EAWJCU9NzWmfZFtwhPmn5TmuY2ii+DeIp04EL0lT7io0LL7OEyBJWDD7c8nq
|
84
|
+
XT1DnWM7CzmyerM1Y7hw1AHtgbzmB2X2L9XUPOqqRVc27K9+D32NwLETPpVP
|
85
|
+
PYXZyaf2v0Gs655t7bqnuP57Tfq3zZRcLESyNe8Z7KJmdKxJtOBBa2gw9sCB
|
86
|
+
HC+pf5W6XEjuiKRDpdnTqm59qkduaQMfVN/mO4yPA5pOfdcPMGNuRH1IMRA+
|
87
|
+
uvZ6eB1Q4b8CAAAA//8DAH1OqsTLGwAA
|
88
|
+
|
114
89
|
http_version:
|
115
|
-
recorded_at:
|
90
|
+
recorded_at: Tue, 16 Apr 2013 20:45:07 GMT
|
116
91
|
recorded_with: VCR 2.4.0
|
@@ -1,116 +1,91 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
6
|
-
body:
|
5
|
+
uri: http://localhost:3000/api/v1/products/minden-master-ii
|
6
|
+
body:
|
7
7
|
encoding: US-ASCII
|
8
|
-
string:
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
8
|
+
string: ""
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
11
|
- Faraday v0.8.6
|
12
|
-
X-Reviewed-Authorization:
|
13
|
-
-
|
14
|
-
Accept-Encoding:
|
12
|
+
X-Reviewed-Authorization:
|
13
|
+
- 5bbeff36f992bbb2f6dcaf37f3e630d8
|
14
|
+
Accept-Encoding:
|
15
15
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
-
Accept:
|
17
|
-
-
|
18
|
-
response:
|
19
|
-
status:
|
16
|
+
Accept:
|
17
|
+
- "*/*"
|
18
|
+
response:
|
19
|
+
status:
|
20
20
|
code: 200
|
21
|
-
message:
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
-
|
26
|
-
|
27
|
-
|
28
|
-
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
-
|
34
|
-
|
35
|
-
|
36
|
-
-
|
37
|
-
|
38
|
-
|
39
|
-
-
|
40
|
-
|
41
|
-
|
42
|
-
-
|
43
|
-
|
44
|
-
|
45
|
-
-
|
46
|
-
|
47
|
-
|
48
|
-
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
RnJpLCAyMiBNYXIgMjAxMyAxOTo0MToyNiBHTVQ=
|
53
|
-
!binary "U3RyaWN0LVRyYW5zcG9ydC1TZWN1cml0eQ==":
|
54
|
-
- !binary |-
|
55
|
-
bWF4LWFnZT0zMTUzNjAwMA==
|
56
|
-
!binary "VmFyeQ==":
|
57
|
-
- !binary |-
|
58
|
-
QWNjZXB0LUVuY29kaW5n
|
59
|
-
!binary "WC1SYWNrLUNhY2hl":
|
60
|
-
- !binary |-
|
61
|
-
bWlzcw==
|
62
|
-
!binary "WC1SZXF1ZXN0LUlk":
|
63
|
-
- !binary |-
|
64
|
-
NjI1Y2YzODY1YjQxZmQ4NTcwODAzZTQ3NjAzMTZhMWU=
|
65
|
-
!binary "WC1SdW50aW1l":
|
66
|
-
- !binary |-
|
67
|
-
NC4yNzk4MTE=
|
68
|
-
!binary "WC1VYS1Db21wYXRpYmxl":
|
69
|
-
- !binary |-
|
70
|
-
SUU9RWRnZSxjaHJvbWU9MQ==
|
71
|
-
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
72
|
-
- !binary |-
|
73
|
-
Y2h1bmtlZA==
|
74
|
-
!binary "Q29ubmVjdGlvbg==":
|
75
|
-
- !binary |-
|
76
|
-
a2VlcC1hbGl2ZQ==
|
77
|
-
body:
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Access-Control-Allow-Origin:
|
24
|
+
- "*"
|
25
|
+
Access-Control-Allow-Methods:
|
26
|
+
- OPTIONS, GET, POST, PUT, DELETE
|
27
|
+
Access-Control-Max-Age:
|
28
|
+
- "1000"
|
29
|
+
Access-Control-Allow-Credentials:
|
30
|
+
- "true"
|
31
|
+
Access-Control-Allow-Headers:
|
32
|
+
- x-pagination, x-requested-with, x-requested-by, x-reviewed-authorization, x-skip-cache, Content-Type
|
33
|
+
Cache-Control:
|
34
|
+
- no-cache, no-store
|
35
|
+
Content-Type:
|
36
|
+
- application/json; charset=utf-8
|
37
|
+
Vary:
|
38
|
+
- Accept-Encoding
|
39
|
+
Content-Encoding:
|
40
|
+
- gzip
|
41
|
+
X-Ua-Compatible:
|
42
|
+
- IE=Edge
|
43
|
+
X-Request-Id:
|
44
|
+
- 05729ed3a693b83eb72b398802f5ee98
|
45
|
+
X-Runtime:
|
46
|
+
- "0.219648"
|
47
|
+
Connection:
|
48
|
+
- close
|
49
|
+
Server:
|
50
|
+
- thin 1.5.1 codename Straight Razor
|
51
|
+
body:
|
78
52
|
encoding: ASCII-8BIT
|
79
|
-
string: !binary
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
53
|
+
string: !binary |
|
54
|
+
H4sIAFO4bVEAA8RZbW/bNhD+K4Y+dVgckXq1BQwD1q5dgKYNWn/ZikCgRNpm
|
55
|
+
S4sCSSVNi/z3HSXZsp1ITtfZCYIEJB/yHh7veMfTd4dTJ3FCNCc+iqNpRLJw
|
56
|
+
EiEcoTwmMXPOnFwxYhhNiQGch7A3RuEYh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+
|
114
89
|
http_version:
|
115
|
-
recorded_at:
|
90
|
+
recorded_at: Tue, 16 Apr 2013 20:45:07 GMT
|
116
91
|
recorded_with: VCR 2.4.0
|
data/spec/fixtures/vcr/Reviewed_Request/_where/filters_collections_using_other_supported_options.yml
CHANGED
@@ -1,110 +1,77 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
6
|
-
body:
|
5
|
+
uri: http://localhost:3000/api/v1/articles?keywords=minden
|
6
|
+
body:
|
7
7
|
encoding: US-ASCII
|
8
|
-
string:
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
8
|
+
string: ""
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
11
|
- Faraday v0.8.6
|
12
|
-
X-Reviewed-Authorization:
|
13
|
-
-
|
14
|
-
Accept-Encoding:
|
12
|
+
X-Reviewed-Authorization:
|
13
|
+
- 5bbeff36f992bbb2f6dcaf37f3e630d8
|
14
|
+
Accept-Encoding:
|
15
15
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
-
Accept:
|
17
|
-
-
|
18
|
-
response:
|
19
|
-
status:
|
16
|
+
Accept:
|
17
|
+
- "*/*"
|
18
|
+
response:
|
19
|
+
status:
|
20
20
|
code: 200
|
21
|
-
message:
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
-
|
26
|
-
|
27
|
-
|
28
|
-
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
-
|
34
|
-
|
35
|
-
|
36
|
-
-
|
37
|
-
|
38
|
-
|
39
|
-
-
|
40
|
-
|
41
|
-
|
42
|
-
-
|
43
|
-
|
44
|
-
|
45
|
-
-
|
46
|
-
|
47
|
-
|
48
|
-
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
RnJpLCAyMiBNYXIgMjAxMyAxOTo0MToyOCBHTVQ=
|
53
|
-
!binary "U3RyaWN0LVRyYW5zcG9ydC1TZWN1cml0eQ==":
|
54
|
-
- !binary |-
|
55
|
-
bWF4LWFnZT0zMTUzNjAwMA==
|
56
|
-
!binary "VmFyeQ==":
|
57
|
-
- !binary |-
|
58
|
-
QWNjZXB0LUVuY29kaW5n
|
59
|
-
!binary "WC1SYWNrLUNhY2hl":
|
60
|
-
- !binary |-
|
61
|
-
bWlzcw==
|
62
|
-
!binary "WC1SZXF1ZXN0LUlk":
|
63
|
-
- !binary |-
|
64
|
-
MzIwODhhN2U3ODcyOGU0OGZhM2QwMjk4ZDVjMzU5NjQ=
|
65
|
-
!binary "WC1SdW50aW1l":
|
66
|
-
- !binary |-
|
67
|
-
MC4xNTU4NjQ=
|
68
|
-
!binary "WC1VYS1Db21wYXRpYmxl":
|
69
|
-
- !binary |-
|
70
|
-
SUU9RWRnZSxjaHJvbWU9MQ==
|
71
|
-
!binary "Q29udGVudC1MZW5ndGg=":
|
72
|
-
- !binary |-
|
73
|
-
MTIyNw==
|
74
|
-
!binary "Q29ubmVjdGlvbg==":
|
75
|
-
- !binary |-
|
76
|
-
a2VlcC1hbGl2ZQ==
|
77
|
-
body:
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Access-Control-Allow-Origin:
|
24
|
+
- "*"
|
25
|
+
Access-Control-Allow-Methods:
|
26
|
+
- OPTIONS, GET, POST, PUT, DELETE
|
27
|
+
Access-Control-Max-Age:
|
28
|
+
- "1000"
|
29
|
+
Access-Control-Allow-Credentials:
|
30
|
+
- "true"
|
31
|
+
Access-Control-Allow-Headers:
|
32
|
+
- x-pagination, x-requested-with, x-requested-by, x-reviewed-authorization, x-skip-cache, Content-Type
|
33
|
+
Cache-Control:
|
34
|
+
- no-cache, no-store
|
35
|
+
Content-Type:
|
36
|
+
- application/json; charset=utf-8
|
37
|
+
Vary:
|
38
|
+
- Accept-Encoding
|
39
|
+
Content-Encoding:
|
40
|
+
- gzip
|
41
|
+
X-Ua-Compatible:
|
42
|
+
- IE=Edge
|
43
|
+
X-Request-Id:
|
44
|
+
- 353081ec90fd48e5e8b818ee37007f1d
|
45
|
+
X-Runtime:
|
46
|
+
- "0.115509"
|
47
|
+
Connection:
|
48
|
+
- close
|
49
|
+
Server:
|
50
|
+
- thin 1.5.1 codename Straight Razor
|
51
|
+
body:
|
78
52
|
encoding: ASCII-8BIT
|
79
|
-
string: !binary
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
+
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
iuKyijmUdBFHKa9SZirYd17y05AVAQtyBiCjnyUoAZgEZ4Ay+lmCEmJAS4IP
|
102
|
-
hzL6WYISY5PCcyjF+lmCkoBJdAYoo5+3oCRngpIsQ9lE52Fl9PMWlPAMFTT6
|
103
|
-
eQsKIeeBAn4WoMBJbR5s9UdDOYUAzjJGD94ptNZwl33QU9u9xZ7QIF8DOZ5+
|
104
|
-
MP9jca7swZUr8d28GzdxuAbg7o0wXVbhON5y/1vPbVSfcI15efT/6i3j5RqL
|
105
|
-
15kXhv7C9eLdKE4vDhehr5/C8/yM+tXw5gUWGZ7v3zGJWBHyNeg0ScMNIWu4
|
106
|
-
x4dR9W7/p1d23B7eJT+H7PEB9g5FTwssy3m08hf+2fM+/6dXNmQ//ycAAAAA
|
107
|
-
//8DAI8Ue9U7EwAA
|
53
|
+
string: !binary |
|
54
|
+
H4sIAFa4bVEAA8RW227jNhD9lYCvtda6WLKtH2jzsEBR7FMXAUGRI5tYSlRJ
|
55
|
+
Ktsg8L93SEpy7F0bCVC0fojNmcPhzJnDYV7JwA6yZ07qntSvxGnHFKmzVfxF
|
56
|
+
0Qs2rFtprAtrUjszwooodmUYDDxLPdrJ2I9KrUgPf7sLgx4d1S1t9NgLDN0y
|
57
|
+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