linkedin 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (24) hide show
  1. checksums.yaml +7 -0
  2. data/README.markdown +26 -24
  3. data/Rakefile +1 -0
  4. data/lib/linked_in/api/query_methods.rb +3 -3
  5. data/lib/linked_in/version.rb +1 -1
  6. data/linkedin.gemspec +7 -7
  7. data/spec/cases/api_spec.rb +6 -0
  8. data/spec/fixtures/cassette_library/LinkedIn_Api/Company_API.yml +50 -42
  9. data/spec/fixtures/cassette_library/LinkedIn_Client/_authorize_from_request.yml +31 -22
  10. data/spec/fixtures/cassette_library/LinkedIn_Client/_request_token.yml +31 -22
  11. data/spec/fixtures/cassette_library/LinkedIn_Client/_request_token/with_a_callback_url.yml +31 -22
  12. data/spec/fixtures/cassette_library/LinkedIn_Client/_request_token/with_default_options.yml +31 -22
  13. data/spec/fixtures/cassette_library/LinkedIn_Search/_search/by_company_name_option.yml +73 -89
  14. data/spec/fixtures/cassette_library/LinkedIn_Search/_search/by_first_name_and_last_name_options.yml +80 -111
  15. data/spec/fixtures/cassette_library/LinkedIn_Search/_search/by_first_name_and_last_name_options_with_fields.yml +92 -127
  16. data/spec/fixtures/cassette_library/LinkedIn_Search/_search/by_keywords_string_parameter.yml +43 -62
  17. data/spec/fixtures/cassette_library/LinkedIn_Search/_search/by_single_keywords_option.yml +43 -62
  18. data/spec/fixtures/cassette_library/LinkedIn_Search/_search/by_single_keywords_option_with_pagination.yml +35 -37
  19. data/spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_keywords_options_with_fields.yml +222 -25
  20. data/spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_keywords_string_parameter.yml +70 -146
  21. data/spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_single_keywords_option.yml +70 -146
  22. data/spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_single_keywords_option_with_facets_to_return.yml +70 -146
  23. data/spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_single_keywords_option_with_pagination.yml +64 -126
  24. metadata +21 -57
@@ -1,147 +1,112 @@
1
- ---
2
- - !ruby/struct:VCR::HTTPInteraction
3
- request: !ruby/struct:VCR::Request
4
- method: :get
5
- uri: https://api.linkedin.com:443/v1/people-search:(people:(id,first-name,last-name,public-profile-url,picture-url),num-results)?first-name=Giliardi&last-name=Pires
6
- body:
7
- headers:
8
- user-agent:
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.linkedin.com/v1/people-search:(people:(id,first-name,last-name,public-profile-url,picture-url),num-results)?first-name=Giliardi&last-name=Pires
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
9
11
  - OAuth gem v0.4.7
10
- authorization:
11
- - OAuth oauth_consumer_key="mpibxdpwbwry", oauth_nonce="XxYZ3yqoTFr792YTu6TmJPFCrrkZejwXkORldtyZGI", oauth_signature="cBkWRwhVxBDozgn5sCXBwGIoer4%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1365631657", oauth_token="d9f69cd6-f3f3-4c26-9f2c-12cd8e228089", oauth_version="1.0"
12
- x-li-format:
12
+ Authorization:
13
+ - OAuth oauth_consumer_key="mpibxdpwbwry", oauth_nonce="XxYZ3yqoTFr792YTu6TmJPFCrrkZejwXkORldtyZGI",
14
+ oauth_signature="cBkWRwhVxBDozgn5sCXBwGIoer4%3D", oauth_signature_method="HMAC-SHA1",
15
+ oauth_timestamp="1365631657", oauth_token="d9f69cd6-f3f3-4c26-9f2c-12cd8e228089",
16
+ oauth_version="1.0"
17
+ X-Li-Format:
13
18
  - json
14
- response: !ruby/struct:VCR::Response
15
- status: !ruby/struct:VCR::ResponseStatus
19
+ response:
20
+ status:
16
21
  code: 200
17
22
  message: OK
18
- headers:
19
- server:
23
+ headers:
24
+ Server:
20
25
  - Apache-Coyote/1.1
21
- transfer-encoding:
26
+ Transfer-Encoding:
22
27
  - chunked
23
- vary:
24
- - "*"
25
- content-type:
28
+ Vary:
29
+ - ! '*'
30
+ Content-Type:
26
31
  - application/json;charset=UTF-8
27
- x-li-request-id:
32
+ X-Li-Request-Id:
28
33
  - G0J3Z1XF1E
29
- date:
34
+ Date:
30
35
  - Wed, 10 Apr 2013 22:07:36 GMT
31
- x-li-format:
36
+ X-Li-Format:
32
37
  - json
33
- body: |-
34
- {
35
- "numResults": 0,
36
- "people": {"_total": 0}
37
- }
38
- http_version: "1.1"
39
- - !ruby/struct:VCR::HTTPInteraction
40
- request: !ruby/struct:VCR::Request
41
- method: :get
42
- uri: https://api.linkedin.com:443/v1/people-search:(people:(id,first-name,last-name,public-profile-url,picture-url),num-results)?first-name=Charles&last-name=Garcia
43
- body:
44
- headers:
45
- user-agent:
38
+ body:
39
+ encoding: UTF-8
40
+ string: ! "{\n \"numResults\": 0,\n \"people\": {\"_total\": 0}\n}"
41
+ http_version: '1.1'
42
+ recorded_at: Tue, 04 Jun 2013 03:42:37 GMT
43
+ - request:
44
+ method: get
45
+ uri: https://api.linkedin.com/v1/people-search:(people:(id,first-name,last-name,public-profile-url,picture-url),num-results)?first-name=Charles&last-name=Garcia
46
+ body:
47
+ encoding: US-ASCII
48
+ string: ''
49
+ headers:
50
+ User-Agent:
46
51
  - OAuth gem v0.4.7
47
- authorization:
48
- - OAuth oauth_consumer_key="mpibxdpwbwry", oauth_nonce="apcqck1ATxZYGou1ynnfBm6OgZFBz4TXKeuPo160NU", oauth_signature="zB0MtadBiOOL2rAX%2FdHn71fZyOA%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1365631934", oauth_token="d9f69cd6-f3f3-4c26-9f2c-12cd8e228089", oauth_version="1.0"
49
- x-li-format:
52
+ Authorization:
53
+ - OAuth oauth_consumer_key="mpibxdpwbwry", oauth_nonce="apcqck1ATxZYGou1ynnfBm6OgZFBz4TXKeuPo160NU",
54
+ oauth_signature="zB0MtadBiOOL2rAX%2FdHn71fZyOA%3D", oauth_signature_method="HMAC-SHA1",
55
+ oauth_timestamp="1365631934", oauth_token="d9f69cd6-f3f3-4c26-9f2c-12cd8e228089",
56
+ oauth_version="1.0"
57
+ X-Li-Format:
50
58
  - json
51
- response: !ruby/struct:VCR::Response
52
- status: !ruby/struct:VCR::ResponseStatus
59
+ response:
60
+ status:
53
61
  code: 200
54
62
  message: OK
55
- headers:
56
- server:
63
+ headers:
64
+ Server:
57
65
  - Apache-Coyote/1.1
58
- transfer-encoding:
66
+ Transfer-Encoding:
59
67
  - chunked
60
- vary:
61
- - "*"
62
- content-type:
68
+ Vary:
69
+ - ! '*'
70
+ Content-Type:
63
71
  - application/json;charset=UTF-8
64
- x-li-request-id:
72
+ X-Li-Request-Id:
65
73
  - 7A7TZHN5V9
66
- date:
74
+ Date:
67
75
  - Wed, 10 Apr 2013 22:12:14 GMT
68
- x-li-format:
76
+ X-Li-Format:
69
77
  - json
70
- body: |-
71
- {
72
- "numResults": 308,
73
- "people": {
74
- "_count": 10,
75
- "_start": 0,
76
- "_total": 110,
77
- "values": [
78
- {
79
- "firstName": "Charles",
80
- "id": "2zk34r8TvA",
81
- "lastName": "Garcia, CFA",
82
- "publicProfileUrl": "http://www.linkedin.com/in/charlesgarcia"
83
- },
84
- {
85
- "firstName": "Charles R.",
86
- "id": "NjwO1vU6P6",
87
- "lastName": "Garcia Jr.",
88
- "pictureUrl": "http://m3.licdn.com/mpr/mprx/0_eyd5KukV6r4QDft-oYwsKfzsXqyWSdi-oUjVKaLVRAeMtSqtXsJWOmlqospnaaGOWxIUxWUUfdKb",
89
- "publicProfileUrl": "http://www.linkedin.com/in/knightwealthmanagement"
90
- },
91
- {
92
- "firstName": "Charles",
93
- "id": "j8ZczJo44W",
94
- "lastName": "Garcia-Tobin",
95
- "publicProfileUrl": "http://www.linkedin.com/pub/charles-garcia-tobin/1/407/37"
96
- },
97
- {
98
- "firstName": "Charles",
99
- "id": "jYfrk5GM29",
100
- "lastName": "Garcia",
101
- "pictureUrl": "http://m3.licdn.com/mpr/mprx/0_oCf8Sdu0zOpQN_tEeLaPSwVjvZHIq5CEH6R0SEw2EOpRI3voQk0uio0GUveqBC_QITDYCDz2KP6m",
102
- "publicProfileUrl": "http://www.linkedin.com/in/charleshgarcia"
103
- },
104
- {
105
- "firstName": "Charles",
106
- "id": "C-2ASm3SQ1",
107
- "lastName": "Garcia",
108
- "pictureUrl": "http://m3.licdn.com/mpr/mprx/0_eyd5KuNsktdHTE1-6RasKacFXqyWSdi-oUjVKaLVRAeMtSqtXsJWOmlqospnaaGOWxIUxWRzo_ib",
109
- "publicProfileUrl": "http://www.linkedin.com/pub/charles-garcia/26/1b2/b28"
110
- },
111
- {
112
- "firstName": "Charles",
113
- "id": "LG__MFCUTJ",
114
- "lastName": "Garcia",
115
- "publicProfileUrl": "http://www.linkedin.com/pub/charles-garcia/5/465/b00"
116
- },
117
- {
118
- "firstName": "Charles",
119
- "id": "wjopxKqYYM",
120
- "lastName": "Garcia",
121
- "pictureUrl": "http://m3.licdn.com/mpr/mprx/0_ePvupanfrtgopBCiEBzPpuFir-Zdp-tioNT1pSkPfNuJin5_Xv58tDrgO049xzPfWKBt1o9wYUsb",
122
- "publicProfileUrl": "http://www.linkedin.com/pub/charles-garcia/8/152/3ab"
123
- },
124
- {
125
- "firstName": "Charles",
126
- "id": "AtFQt5Lf1V",
127
- "lastName": "Garcia",
128
- "pictureUrl": "http://m3.licdn.com/mpr/mprx/0_uuv-7sRI0s_EdtBWuecS7Jf9jM5owt6WaSTS7Jd9GylVN9AdhE5O3Mg41cLzHvF5S7B28YBarPYq",
129
- "publicProfileUrl": "http://www.linkedin.com/in/chasgarcia"
130
- },
131
- {
132
- "firstName": "Charles",
133
- "id": "MUXIZwfehE",
134
- "lastName": "Garcia",
135
- "publicProfileUrl": "http://www.linkedin.com/pub/charles-garcia/14/6a7/81"
136
- },
137
- {
138
- "firstName": "Charles",
139
- "id": "koTmAyWE8J",
140
- "lastName": "Schwalbe Garcia-Lago",
141
- "pictureUrl": "http://m3.licdn.com/mpr/mprx/0_q6hJ9GyYDCe0NRJ1sGCQ9TSySTY-nZZ1nFqQ9TyatkEGWp7PZhrzZ3Hh_fODzxM0zLGFJ6CC9gBb",
142
- "publicProfileUrl": "http://www.linkedin.com/in/charlesschwalbe"
143
- }
144
- ]
145
- }
146
- }
147
- http_version: "1.1"
78
+ body:
79
+ encoding: UTF-8
80
+ string: ! "{\n \"numResults\": 308,\n \"people\": {\n \"_count\": 10,\n
81
+ \ \"_start\": 0,\n \"_total\": 110,\n \"values\": [\n {\n \"firstName\":
82
+ \"Charles\",\n \"id\": \"2zk34r8TvA\",\n \"lastName\": \"Garcia,
83
+ CFA\",\n \"publicProfileUrl\": \"http://www.linkedin.com/in/charlesgarcia\"\n
84
+ \ },\n {\n \"firstName\": \"Charles R.\",\n \"id\":
85
+ \"NjwO1vU6P6\",\n \"lastName\": \"Garcia Jr.\",\n \"pictureUrl\":
86
+ \"http://m3.licdn.com/mpr/mprx/0_eyd5KukV6r4QDft-oYwsKfzsXqyWSdi-oUjVKaLVRAeMtSqtXsJWOmlqospnaaGOWxIUxWUUfdKb\",\n
87
+ \ \"publicProfileUrl\": \"http://www.linkedin.com/in/knightwealthmanagement\"\n
88
+ \ },\n {\n \"firstName\": \"Charles\",\n \"id\": \"j8ZczJo44W\",\n
89
+ \ \"lastName\": \"Garcia-Tobin\",\n \"publicProfileUrl\": \"http://www.linkedin.com/pub/charles-garcia-tobin/1/407/37\"\n
90
+ \ },\n {\n \"firstName\": \"Charles\",\n \"id\": \"jYfrk5GM29\",\n
91
+ \ \"lastName\": \"Garcia\",\n \"pictureUrl\": \"http://m3.licdn.com/mpr/mprx/0_oCf8Sdu0zOpQN_tEeLaPSwVjvZHIq5CEH6R0SEw2EOpRI3voQk0uio0GUveqBC_QITDYCDz2KP6m\",\n
92
+ \ \"publicProfileUrl\": \"http://www.linkedin.com/in/charleshgarcia\"\n
93
+ \ },\n {\n \"firstName\": \"Charles\",\n \"id\": \"C-2ASm3SQ1\",\n
94
+ \ \"lastName\": \"Garcia\",\n \"pictureUrl\": \"http://m3.licdn.com/mpr/mprx/0_eyd5KuNsktdHTE1-6RasKacFXqyWSdi-oUjVKaLVRAeMtSqtXsJWOmlqospnaaGOWxIUxWRzo_ib\",\n
95
+ \ \"publicProfileUrl\": \"http://www.linkedin.com/pub/charles-garcia/26/1b2/b28\"\n
96
+ \ },\n {\n \"firstName\": \"Charles\",\n \"id\": \"LG__MFCUTJ\",\n
97
+ \ \"lastName\": \"Garcia\",\n \"publicProfileUrl\": \"http://www.linkedin.com/pub/charles-garcia/5/465/b00\"\n
98
+ \ },\n {\n \"firstName\": \"Charles\",\n \"id\": \"wjopxKqYYM\",\n
99
+ \ \"lastName\": \"Garcia\",\n \"pictureUrl\": \"http://m3.licdn.com/mpr/mprx/0_ePvupanfrtgopBCiEBzPpuFir-Zdp-tioNT1pSkPfNuJin5_Xv58tDrgO049xzPfWKBt1o9wYUsb\",\n
100
+ \ \"publicProfileUrl\": \"http://www.linkedin.com/pub/charles-garcia/8/152/3ab\"\n
101
+ \ },\n {\n \"firstName\": \"Charles\",\n \"id\": \"AtFQt5Lf1V\",\n
102
+ \ \"lastName\": \"Garcia\",\n \"pictureUrl\": \"http://m3.licdn.com/mpr/mprx/0_uuv-7sRI0s_EdtBWuecS7Jf9jM5owt6WaSTS7Jd9GylVN9AdhE5O3Mg41cLzHvF5S7B28YBarPYq\",\n
103
+ \ \"publicProfileUrl\": \"http://www.linkedin.com/in/chasgarcia\"\n
104
+ \ },\n {\n \"firstName\": \"Charles\",\n \"id\": \"MUXIZwfehE\",\n
105
+ \ \"lastName\": \"Garcia\",\n \"publicProfileUrl\": \"http://www.linkedin.com/pub/charles-garcia/14/6a7/81\"\n
106
+ \ },\n {\n \"firstName\": \"Charles\",\n \"id\": \"koTmAyWE8J\",\n
107
+ \ \"lastName\": \"Schwalbe Garcia-Lago\",\n \"pictureUrl\": \"http://m3.licdn.com/mpr/mprx/0_q6hJ9GyYDCe0NRJ1sGCQ9TSySTY-nZZ1nFqQ9TyatkEGWp7PZhrzZ3Hh_fODzxM0zLGFJ6CC9gBb\",\n
108
+ \ \"publicProfileUrl\": \"http://www.linkedin.com/in/charlesschwalbe\"\n
109
+ \ }\n ]\n }\n}"
110
+ http_version: '1.1'
111
+ recorded_at: Tue, 04 Jun 2013 03:42:37 GMT
112
+ recorded_with: VCR 2.5.0
@@ -1,72 +1,53 @@
1
- ---
2
- - !ruby/struct:VCR::HTTPInteraction
3
- request: !ruby/struct:VCR::Request
4
- method: :get
5
- uri: https://api.linkedin.com:443/v1/people-search?keywords=github
6
- body:
7
- headers:
8
- x-li-format:
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.linkedin.com/v1/people-search?keywords=github
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ X-Li-Format:
9
11
  - json
10
- authorization:
11
- - OAuth oauth_consumer_key="mpibxdpwbwry", oauth_nonce="KJPWM7qluIAetEW5kk8NSQuB3ssr1S2v6HBpofhFY", oauth_signature="LEh2O3mlLU6GqhsuU4admW%2B1hDw%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1365631655", oauth_token="d9f69cd6-f3f3-4c26-9f2c-12cd8e228089", oauth_version="1.0"
12
- user-agent:
12
+ Authorization:
13
+ - OAuth oauth_consumer_key="mpibxdpwbwry", oauth_nonce="KJPWM7qluIAetEW5kk8NSQuB3ssr1S2v6HBpofhFY",
14
+ oauth_signature="LEh2O3mlLU6GqhsuU4admW%2B1hDw%3D", oauth_signature_method="HMAC-SHA1",
15
+ oauth_timestamp="1365631655", oauth_token="d9f69cd6-f3f3-4c26-9f2c-12cd8e228089",
16
+ oauth_version="1.0"
17
+ User-Agent:
13
18
  - OAuth gem v0.4.7
14
- response: !ruby/struct:VCR::Response
15
- status: !ruby/struct:VCR::ResponseStatus
19
+ response:
20
+ status:
16
21
  code: 200
17
22
  message: OK
18
- headers:
19
- x-li-request-id:
23
+ headers:
24
+ X-Li-Request-Id:
20
25
  - L4BQ08FWG8
21
- x-li-format:
26
+ X-Li-Format:
22
27
  - json
23
- date:
28
+ Date:
24
29
  - Wed, 10 Apr 2013 22:07:35 GMT
25
- vary:
26
- - "*"
27
- server:
30
+ Vary:
31
+ - ! '*'
32
+ Server:
28
33
  - Apache-Coyote/1.1
29
- content-type:
34
+ Content-Type:
30
35
  - application/json;charset=UTF-8
31
- transfer-encoding:
36
+ Transfer-Encoding:
32
37
  - chunked
33
- body: |-
34
- {
35
- "numResults": 6,
36
- "people": {
37
- "_total": 6,
38
- "values": [
39
- {
40
- "firstName": "Shay",
41
- "id": "ucXjUw4M9J",
42
- "lastName": "Frendt"
43
- },
44
- {
45
- "firstName": "Scott",
46
- "id": "t6mvVsY3df",
47
- "lastName": "Smith"
48
- },
49
- {
50
- "firstName": "Philip",
51
- "id": "ZeSnXwtz6Y",
52
- "lastName": "Corliss"
53
- },
54
- {
55
- "firstName": "Jay",
56
- "id": "i24wDA2GrH",
57
- "lastName": "Beavers"
58
- },
59
- {
60
- "firstName": "Chris",
61
- "id": "SJBelisgHh",
62
- "lastName": "Wiswell"
63
- },
64
- {
65
- "firstName": "Satish",
66
- "id": "V1FPuGot-I",
67
- "lastName": "Talim"
68
- }
69
- ]
70
- }
71
- }
72
- http_version: "1.1"
38
+ body:
39
+ encoding: UTF-8
40
+ string: ! "{\n \"numResults\": 6,\n \"people\": {\n \"_total\": 6,\n \"values\":
41
+ [\n {\n \"firstName\": \"Shay\",\n \"id\": \"ucXjUw4M9J\",\n
42
+ \ \"lastName\": \"Frendt\"\n },\n {\n \"firstName\":
43
+ \"Scott\",\n \"id\": \"t6mvVsY3df\",\n \"lastName\": \"Smith\"\n
44
+ \ },\n {\n \"firstName\": \"Philip\",\n \"id\": \"ZeSnXwtz6Y\",\n
45
+ \ \"lastName\": \"Corliss\"\n },\n {\n \"firstName\":
46
+ \"Jay\",\n \"id\": \"i24wDA2GrH\",\n \"lastName\": \"Beavers\"\n
47
+ \ },\n {\n \"firstName\": \"Chris\",\n \"id\": \"SJBelisgHh\",\n
48
+ \ \"lastName\": \"Wiswell\"\n },\n {\n \"firstName\":
49
+ \"Satish\",\n \"id\": \"V1FPuGot-I\",\n \"lastName\": \"Talim\"\n
50
+ \ }\n ]\n }\n}"
51
+ http_version: '1.1'
52
+ recorded_at: Tue, 04 Jun 2013 03:42:37 GMT
53
+ recorded_with: VCR 2.5.0
@@ -1,72 +1,53 @@
1
- ---
2
- - !ruby/struct:VCR::HTTPInteraction
3
- request: !ruby/struct:VCR::Request
4
- method: :get
5
- uri: https://api.linkedin.com:443/v1/people-search?keywords=github
6
- body:
7
- headers:
8
- x-li-format:
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.linkedin.com/v1/people-search?keywords=github
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ X-Li-Format:
9
11
  - json
10
- authorization:
11
- - OAuth oauth_consumer_key="mpibxdpwbwry", oauth_nonce="DlBgAEJHkDYAnMMZwzFObsUNcCmRbzFldB4dV1yeE", oauth_signature="RLiPr%2FC1bq9Dv29W3mjezy1of54%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1365631655", oauth_token="d9f69cd6-f3f3-4c26-9f2c-12cd8e228089", oauth_version="1.0"
12
- user-agent:
12
+ Authorization:
13
+ - OAuth oauth_consumer_key="mpibxdpwbwry", oauth_nonce="DlBgAEJHkDYAnMMZwzFObsUNcCmRbzFldB4dV1yeE",
14
+ oauth_signature="RLiPr%2FC1bq9Dv29W3mjezy1of54%3D", oauth_signature_method="HMAC-SHA1",
15
+ oauth_timestamp="1365631655", oauth_token="d9f69cd6-f3f3-4c26-9f2c-12cd8e228089",
16
+ oauth_version="1.0"
17
+ User-Agent:
13
18
  - OAuth gem v0.4.7
14
- response: !ruby/struct:VCR::Response
15
- status: !ruby/struct:VCR::ResponseStatus
19
+ response:
20
+ status:
16
21
  code: 200
17
22
  message: OK
18
- headers:
19
- x-li-request-id:
23
+ headers:
24
+ X-Li-Request-Id:
20
25
  - 5BE8O0G2CK
21
- x-li-format:
26
+ X-Li-Format:
22
27
  - json
23
- date:
28
+ Date:
24
29
  - Wed, 10 Apr 2013 22:07:35 GMT
25
- vary:
26
- - "*"
27
- server:
30
+ Vary:
31
+ - ! '*'
32
+ Server:
28
33
  - Apache-Coyote/1.1
29
- content-type:
34
+ Content-Type:
30
35
  - application/json;charset=UTF-8
31
- transfer-encoding:
36
+ Transfer-Encoding:
32
37
  - chunked
33
- body: |-
34
- {
35
- "numResults": 6,
36
- "people": {
37
- "_total": 6,
38
- "values": [
39
- {
40
- "firstName": "Shay",
41
- "id": "ucXjUw4M9J",
42
- "lastName": "Frendt"
43
- },
44
- {
45
- "firstName": "Scott",
46
- "id": "t6mvVsY3df",
47
- "lastName": "Smith"
48
- },
49
- {
50
- "firstName": "Philip",
51
- "id": "ZeSnXwtz6Y",
52
- "lastName": "Corliss"
53
- },
54
- {
55
- "firstName": "Jay",
56
- "id": "i24wDA2GrH",
57
- "lastName": "Beavers"
58
- },
59
- {
60
- "firstName": "Chris",
61
- "id": "SJBelisgHh",
62
- "lastName": "Wiswell"
63
- },
64
- {
65
- "firstName": "Satish",
66
- "id": "V1FPuGot-I",
67
- "lastName": "Talim"
68
- }
69
- ]
70
- }
71
- }
72
- http_version: "1.1"
38
+ body:
39
+ encoding: UTF-8
40
+ string: ! "{\n \"numResults\": 6,\n \"people\": {\n \"_total\": 6,\n \"values\":
41
+ [\n {\n \"firstName\": \"Shay\",\n \"id\": \"ucXjUw4M9J\",\n
42
+ \ \"lastName\": \"Frendt\"\n },\n {\n \"firstName\":
43
+ \"Scott\",\n \"id\": \"t6mvVsY3df\",\n \"lastName\": \"Smith\"\n
44
+ \ },\n {\n \"firstName\": \"Philip\",\n \"id\": \"ZeSnXwtz6Y\",\n
45
+ \ \"lastName\": \"Corliss\"\n },\n {\n \"firstName\":
46
+ \"Jay\",\n \"id\": \"i24wDA2GrH\",\n \"lastName\": \"Beavers\"\n
47
+ \ },\n {\n \"firstName\": \"Chris\",\n \"id\": \"SJBelisgHh\",\n
48
+ \ \"lastName\": \"Wiswell\"\n },\n {\n \"firstName\":
49
+ \"Satish\",\n \"id\": \"V1FPuGot-I\",\n \"lastName\": \"Talim\"\n
50
+ \ }\n ]\n }\n}"
51
+ http_version: '1.1'
52
+ recorded_at: Tue, 04 Jun 2013 03:42:37 GMT
53
+ recorded_with: VCR 2.5.0