greenhouse_io-gitlab 2.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +19 -0
- data/.travis.yml +11 -0
- data/CHANGES.md +41 -0
- data/Gemfile +11 -0
- data/LICENSE.txt +22 -0
- data/README.md +200 -0
- data/Rakefile +8 -0
- data/greenhouse_io.gemspec +29 -0
- data/lib/greenhouse_io.rb +9 -0
- data/lib/greenhouse_io/api.rb +19 -0
- data/lib/greenhouse_io/api/client.rb +145 -0
- data/lib/greenhouse_io/api/job_board.rb +66 -0
- data/lib/greenhouse_io/configuration.rb +21 -0
- data/lib/greenhouse_io/error.rb +10 -0
- data/lib/greenhouse_io/version.rb +3 -0
- data/spec/fixtures/cassettes/apply_to_job.yml +44 -0
- data/spec/fixtures/cassettes/client/activity_feed.yml +36 -0
- data/spec/fixtures/cassettes/client/all_scorecards.yml +38 -0
- data/spec/fixtures/cassettes/client/application.yml +36 -0
- data/spec/fixtures/cassettes/client/application_by_job_id.yml +139 -0
- data/spec/fixtures/cassettes/client/applications.yml +43 -0
- data/spec/fixtures/cassettes/client/candidate.yml +36 -0
- data/spec/fixtures/cassettes/client/candidates.yml +38 -0
- data/spec/fixtures/cassettes/client/create_candidate_note.yml +42 -0
- data/spec/fixtures/cassettes/client/create_candidate_note_invalid_candidate_id.yml +42 -0
- data/spec/fixtures/cassettes/client/create_candidate_note_invalid_missing_field.yml +42 -0
- data/spec/fixtures/cassettes/client/create_candidate_note_invalid_on_behalf_of.yml +42 -0
- data/spec/fixtures/cassettes/client/create_candidate_note_invalid_user_id.yml +42 -0
- data/spec/fixtures/cassettes/client/current_offer_for_application.yml +40 -0
- data/spec/fixtures/cassettes/client/department.yml +36 -0
- data/spec/fixtures/cassettes/client/departments.yml +38 -0
- data/spec/fixtures/cassettes/client/headers.yml +38 -0
- data/spec/fixtures/cassettes/client/job.yml +37 -0
- data/spec/fixtures/cassettes/client/job_post.yml +49 -0
- data/spec/fixtures/cassettes/client/jobs.yml +39 -0
- data/spec/fixtures/cassettes/client/offer.yml +48 -0
- data/spec/fixtures/cassettes/client/offers.yml +51 -0
- data/spec/fixtures/cassettes/client/offers_for_application.yml +40 -0
- data/spec/fixtures/cassettes/client/office.yml +36 -0
- data/spec/fixtures/cassettes/client/offices.yml +46 -0
- data/spec/fixtures/cassettes/client/scheduled_interviews.yml +38 -0
- data/spec/fixtures/cassettes/client/scorecards.yml +37 -0
- data/spec/fixtures/cassettes/client/source.yml +39 -0
- data/spec/fixtures/cassettes/client/sources.yml +37 -0
- data/spec/fixtures/cassettes/client/stages.yml +36 -0
- data/spec/fixtures/cassettes/client/user.yml +36 -0
- data/spec/fixtures/cassettes/client/users.yml +38 -0
- data/spec/fixtures/cassettes/department.yml +45 -0
- data/spec/fixtures/cassettes/departments.yml +45 -0
- data/spec/fixtures/cassettes/invalid_application.yml +43 -0
- data/spec/fixtures/cassettes/invalid_application_id.yml +44 -0
- data/spec/fixtures/cassettes/invalid_id.yml +40 -0
- data/spec/fixtures/cassettes/invalid_organization.yml +40 -0
- data/spec/fixtures/cassettes/job.yml +80 -0
- data/spec/fixtures/cassettes/job_with_questions.yml +85 -0
- data/spec/fixtures/cassettes/jobs.yml +44 -0
- data/spec/fixtures/cassettes/jobs_with_content.yml +118 -0
- data/spec/fixtures/cassettes/office.yml +45 -0
- data/spec/fixtures/cassettes/offices.yml +45 -0
- data/spec/greenhouse_io/api/client_spec.rb +679 -0
- data/spec/greenhouse_io/api/job_board_spec.rb +187 -0
- data/spec/greenhouse_io/configuration_spec.rb +71 -0
- data/spec/greenhouse_io/error_spec.rb +23 -0
- data/spec/spec_helper.rb +22 -0
- metadata +242 -0
@@ -0,0 +1,37 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://123FakeToken:@harvest.greenhouse.io/v1/jobs/4690
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
Content-Type:
|
16
|
+
- application/json;charset=utf-8
|
17
|
+
Date:
|
18
|
+
- Sun, 11 May 2014 23:30:08 GMT
|
19
|
+
Status:
|
20
|
+
- 200 OK
|
21
|
+
X-Content-Type-Options:
|
22
|
+
- nosniff
|
23
|
+
X-Ratelimit-Limit:
|
24
|
+
- '20'
|
25
|
+
X-Ratelimit-Remaining:
|
26
|
+
- '20'
|
27
|
+
Content-Length:
|
28
|
+
- '340'
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
body:
|
32
|
+
encoding: UTF-8
|
33
|
+
string: "{\"id\":4690,\"name\":\"Position Opening 1\",\"requisition_id\":\"\",\"notes\":null,\"status\":\"open\",\"employment_type\":null,\"created_at\":\"2013-11-06T16:26:34Z\",\"opened_at\":\"2013-11-06T16:26:34Z\",\"closed_at\":null,\"departments\":[{\"id\":367,\"name\":\"Enterprise\"}],\"offices\":[{\"id\":214,\"name\":\"New
|
34
|
+
York\",\"location\":{\"name\":\"New York, NY\"}}]}"
|
35
|
+
http_version:
|
36
|
+
recorded_at: Sun, 11 May 2014 23:30:09 GMT
|
37
|
+
recorded_with: VCR 2.5.0
|
@@ -0,0 +1,49 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://123FakeToken:@harvest.greenhouse.io/v1/jobs/4690/job_post
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
Content-Type:
|
16
|
+
- application/json;charset=utf-8
|
17
|
+
Date:
|
18
|
+
- Sun, 11 May 2014 23:33:42 GMT
|
19
|
+
Status:
|
20
|
+
- 200 OK
|
21
|
+
X-Content-Type-Options:
|
22
|
+
- nosniff
|
23
|
+
X-Ratelimit-Limit:
|
24
|
+
- '20'
|
25
|
+
X-Ratelimit-Remaining:
|
26
|
+
- '20'
|
27
|
+
Content-Length:
|
28
|
+
- '5283'
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
body:
|
32
|
+
encoding: UTF-8
|
33
|
+
string: "{\"title\":\"Open Position 1\",\"location\":{\"name\":\"New
|
34
|
+
York\"},\"content\":\"<div>\\n<p><strong>Who are we?</strong></p>\\n<p><a
|
35
|
+
href=\\\"https://generalassemb.ly/\\\">General Assembly</a> is a successful,
|
36
|
+
venture backed, NYC based start-up focusing on delivering excellence in offline,
|
37
|
+
and online applied learning. We have campuses in NY, London, Berlin,
|
38
|
+
Sydney, Hong Kong, Boston and SF and provide educational programming, space,
|
39
|
+
and support to facilitate collaborative learning opportunities across a community
|
40
|
+
ranging from individual students to large enterprises</p>\",\"updated_at\":\"2014-02-12T22:58:27Z\",\"questions\":[{\"required\":true,\"private\":false,\"label\":\"First
|
41
|
+
Name\",\"type\":\"short_text\",\"values\":[]},{\"required\":true,\"private\":false,\"label\":\"Last
|
42
|
+
Name\",\"type\":\"short_text\",\"values\":[]},{\"required\":true,\"private\":false,\"label\":\"Email\",\"type\":\"short_text\",\"values\":[]},{\"required\":false,\"private\":false,\"label\":\"Phone\",\"type\":\"short_text\",\"values\":[]},{\"required\":true,\"private\":false,\"label\":\"Resume\",\"type\":\"attachment\",\"values\":[]},{\"required\":false,\"private\":false,\"label\":\"Cover
|
43
|
+
Letter\",\"type\":\"attachment\",\"values\":[]},{\"required\":true,\"private\":false,\"label\":\"LinkedIn
|
44
|
+
Profile\",\"type\":\"short_text\",\"values\":[]},{\"required\":false,\"private\":false,\"label\":\"Website\",\"type\":\"short_text\",\"values\":[]},{\"required\":true,\"private\":false,\"label\":\"In
|
45
|
+
a few sentences, tell us what makes you unique\",\"type\":\"long_text\",\"values\":[]},{\"required\":true,\"private\":false,\"label\":\"In
|
46
|
+
a few sentences, tell us why this job, why now?\",\"type\":\"long_text\",\"values\":[]}]}"
|
47
|
+
http_version:
|
48
|
+
recorded_at: Sun, 11 May 2014 23:33:43 GMT
|
49
|
+
recorded_with: VCR 2.5.0
|
@@ -0,0 +1,39 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://123FakeToken:@harvest.greenhouse.io/v1/jobs
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
Content-Type:
|
16
|
+
- application/json;charset=utf-8
|
17
|
+
Date:
|
18
|
+
- Sun, 11 May 2014 23:28:32 GMT
|
19
|
+
Link:
|
20
|
+
- "<https://harvest.greenhouse.io/v1/jobs?page=2&per_page=100>; rel=\"next\""
|
21
|
+
Status:
|
22
|
+
- 200 OK
|
23
|
+
X-Content-Type-Options:
|
24
|
+
- nosniff
|
25
|
+
X-Ratelimit-Limit:
|
26
|
+
- '20'
|
27
|
+
X-Ratelimit-Remaining:
|
28
|
+
- '20'
|
29
|
+
Content-Length:
|
30
|
+
- '47597'
|
31
|
+
Connection:
|
32
|
+
- keep-alive
|
33
|
+
body:
|
34
|
+
encoding: UTF-8
|
35
|
+
string: "[{\"id\":4690,\"name\":\"Position Opening 1\",\"requisition_id\":\"\",\"notes\":null,\"status\":\"open\",\"employment_type\":null,\"created_at\":\"2013-11-06T16:26:34Z\",\"opened_at\":\"2013-11-06T16:26:34Z\",\"closed_at\":null,\"departments\":[{\"id\":367,\"name\":\"Enterprise\"}],\"offices\":[{\"id\":214,\"name\":\"New
|
36
|
+
York\",\"location\":{\"name\":\"New York, NY\"}}]}]"
|
37
|
+
http_version:
|
38
|
+
recorded_at: Sun, 11 May 2014 23:28:33 GMT
|
39
|
+
recorded_with: VCR 2.5.0
|
@@ -0,0 +1,48 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://123FakeToken:@harvest.greenhouse.io/v1/offers/221598
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- Cowboy
|
23
|
+
Connection:
|
24
|
+
- keep-alive
|
25
|
+
Date:
|
26
|
+
- Wed, 27 Jan 2016 00:27:44 GMT
|
27
|
+
Status:
|
28
|
+
- 200 OK
|
29
|
+
Content-Type:
|
30
|
+
- application/json;charset=utf-8
|
31
|
+
Content-Length:
|
32
|
+
- '400'
|
33
|
+
X-Ratelimit-Limit:
|
34
|
+
- '50'
|
35
|
+
X-Ratelimit-Remaining:
|
36
|
+
- '49'
|
37
|
+
X-Content-Type-Options:
|
38
|
+
- nosniff
|
39
|
+
Via:
|
40
|
+
- 1.1 vegur
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: '{"id":221598,"version":1,"application_id":21708586,"created_at":"2016-01-26T23:57:28Z","sent_at":null,"resolved_at":"2016-01-26T23:57:35Z","starts_at":"2016-01-26","status":"rejected","custom_fields":{"benefits":"Full
|
44
|
+
Medical","bonus":"1000","current_salary":"25000","employment_type":"Full-time","notes":"He
|
45
|
+
was very excited.","options":"2000","salary":"31000","source_cost":null,"visa_cost":"200"}}'
|
46
|
+
http_version:
|
47
|
+
recorded_at: Wed, 27 Jan 2016 00:27:44 GMT
|
48
|
+
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,51 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://123FakeToken:@harvest.greenhouse.io/v1/offers
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- Cowboy
|
23
|
+
Connection:
|
24
|
+
- keep-alive
|
25
|
+
Date:
|
26
|
+
- Tue, 26 Jan 2016 23:59:58 GMT
|
27
|
+
Status:
|
28
|
+
- 200 OK
|
29
|
+
Content-Type:
|
30
|
+
- application/json;charset=utf-8
|
31
|
+
Link:
|
32
|
+
- <https://harvest.greenhouse.io/v1/offers?page=1&per_page=100>; rel="last"
|
33
|
+
Content-Length:
|
34
|
+
- '1517'
|
35
|
+
X-Ratelimit-Limit:
|
36
|
+
- '50'
|
37
|
+
X-Ratelimit-Remaining:
|
38
|
+
- '49'
|
39
|
+
X-Content-Type-Options:
|
40
|
+
- nosniff
|
41
|
+
Via:
|
42
|
+
- 1.1 vegur
|
43
|
+
body:
|
44
|
+
encoding: UTF-8
|
45
|
+
string: '[{"id":221598,"version":1,"application_id":21708586,"created_at":"2016-01-26T23:57:28Z","sent_at":null,"resolved_at":"2016-01-26T23:57:35Z","starts_at":"2016-01-26","status":"rejected","custom_fields":{"benefits":"Full
|
46
|
+
Medical","bonus":"1000","current_salary":"25000","employment_type":"Full-time","notes":"He
|
47
|
+
was very excited.","options":"2000","salary":"31000","source_cost":null,"visa_cost":"200"}},{"id":221603,"version":1,"application_id":21880506,"created_at":"2016-01-26T23:59:27Z","sent_at":null,"resolved_at":null,"starts_at":"2016-01-30","status":"unresolved","custom_fields":{"benefits":null,"bonus":"1000","current_salary":null,"employment_type":"Full-time","notes":null,"options":"2000","salary":"60000","source_cost":null,"visa_cost":null}},{"id":163831,"version":1,"application_id":22109366,"created_at":"2015-11-30T22:29:19Z","sent_at":null,"resolved_at":"2015-11-30T22:29:52Z","starts_at":"2015-12-01","status":"accepted","custom_fields":{"benefits":null,"bonus":null,"current_salary":null,"employment_type":"Full-time","notes":null,"options":null,"salary":"20000","source_cost":null,"visa_cost":null}},{"id":221601,"version":1,"application_id":24709881,"created_at":"2016-01-26T23:58:48Z","sent_at":null,"resolved_at":"2016-01-26T23:59:07Z","starts_at":"2016-01-19","status":"accepted","custom_fields":{"benefits":null,"bonus":"1000","current_salary":"500","employment_type":"Full-time","notes":"He
|
48
|
+
didn''t seem too impressed.","options":"100","salary":"74111","source_cost":"200","visa_cost":null}}]'
|
49
|
+
http_version:
|
50
|
+
recorded_at: Tue, 26 Jan 2016 23:59:58 GMT
|
51
|
+
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,40 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://123FakeToken:@harvest.greenhouse.io/v1/applications/123/offers
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
Server:
|
16
|
+
- Cowboy
|
17
|
+
Connection:
|
18
|
+
- keep-alive
|
19
|
+
Date:
|
20
|
+
- Tue, 31 May 2016 19:39:19 GMT
|
21
|
+
Status:
|
22
|
+
- 200 OK
|
23
|
+
Content-Type:
|
24
|
+
- application/json;charset=utf-8
|
25
|
+
Content-Length:
|
26
|
+
- '418'
|
27
|
+
X-Ratelimit-Limit:
|
28
|
+
- '40'
|
29
|
+
X-Ratelimit-Remaining:
|
30
|
+
- '39'
|
31
|
+
X-Content-Type-Options:
|
32
|
+
- nosniff
|
33
|
+
Via:
|
34
|
+
- 1.1 vegur
|
35
|
+
body:
|
36
|
+
encoding: UTF-8
|
37
|
+
string: '[{"id":320847,"version":1,"application_id":123,"created_at":"2016-05-31T19:38:43.623Z","updated_at":"2016-05-31T19:38:56.024Z","sent_at":null,"resolved_at":"2016-05-31T19:38:56.024Z","starts_at":"2016-05-31","status":"accepted","custom_fields":{"benefits":null,"bonus":"1000","current_salary":null,"employment_type":"Full-time","notes":null,"options":"2000","salary":"74111","source_cost":null,"visa_cost":null}}]'
|
38
|
+
http_version:
|
39
|
+
recorded_at: Tue, 31 May 2016 19:39:22 GMT
|
40
|
+
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://123FakeToken:@harvest.greenhouse.io/v1/offices/220
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
Content-Type:
|
16
|
+
- application/json;charset=utf-8
|
17
|
+
Date:
|
18
|
+
- Mon, 21 Apr 2014 23:59:11 GMT
|
19
|
+
Status:
|
20
|
+
- 200 OK
|
21
|
+
X-Content-Type-Options:
|
22
|
+
- nosniff
|
23
|
+
X-Ratelimit-Limit:
|
24
|
+
- '20'
|
25
|
+
X-Ratelimit-Remaining:
|
26
|
+
- '20'
|
27
|
+
Content-Length:
|
28
|
+
- '59'
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
body:
|
32
|
+
encoding: UTF-8
|
33
|
+
string: "{\"id\":220,\"name\":\"Boston\",\"location\":{\"name\":\"Boston, MA\"}}"
|
34
|
+
http_version:
|
35
|
+
recorded_at: Mon, 21 Apr 2014 23:59:11 GMT
|
36
|
+
recorded_with: VCR 2.5.0
|
@@ -0,0 +1,46 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://123FakeToken:@harvest.greenhouse.io/v1/offices
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
Content-Type:
|
16
|
+
- application/json;charset=utf-8
|
17
|
+
Date:
|
18
|
+
- Mon, 21 Apr 2014 23:39:41 GMT
|
19
|
+
Status:
|
20
|
+
- 200 OK
|
21
|
+
X-Content-Type-Options:
|
22
|
+
- nosniff
|
23
|
+
X-Ratelimit-Limit:
|
24
|
+
- '20'
|
25
|
+
X-Ratelimit-Remaining:
|
26
|
+
- '20'
|
27
|
+
Content-Length:
|
28
|
+
- '775'
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
body:
|
32
|
+
encoding: UTF-8
|
33
|
+
string: "[{\"id\":215,\"name\":\"Hong Kong\",\"location\":{\"name\":\"Hong Kong\"}},{\"id\":216,\"name\":\"London\",\"location\":{\"name\":\"London,
|
34
|
+
United Kingdom\"}},{\"id\":217,\"name\":\"San Francisco\",\"location\":{\"name\":\"San
|
35
|
+
Francisco, CA\"}},{\"id\":219,\"name\":\"Sydney\",\"location\":{\"name\":\"Sydney,
|
36
|
+
New South Wales, Australia\"}},{\"id\":220,\"name\":\"Boston\",\"location\":{\"name\":\"Boston,
|
37
|
+
MA\"}},{\"id\":221,\"name\":\"Washington DC\",\"location\":{\"name\":\"Washington,
|
38
|
+
DC\"}},{\"id\":214,\"name\":\"New York\",\"location\":{\"name\":\"New York,
|
39
|
+
NY\"}},{\"id\":218,\"name\":\"Los Angeles\",\"location\":{\"name\":\"Santa
|
40
|
+
Monica, CA\"}},{\"id\":856,\"name\":\"Seattle\",\"location\":{\"name\":\"Seattle,
|
41
|
+
WA\"}},{\"id\":857,\"name\":\"Chicago\",\"location\":{\"name\":\"Chicago,
|
42
|
+
IL, United States\"}},{\"id\":858,\"name\":\"Atlanta\",\"location\":{\"name\":\"Atlanta,
|
43
|
+
GA, United States\"}}]"
|
44
|
+
http_version:
|
45
|
+
recorded_at: Mon, 21 Apr 2014 23:39:41 GMT
|
46
|
+
recorded_with: VCR 2.5.0
|
@@ -0,0 +1,38 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://123FakeToken:@harvest.greenhouse.io/v1/applications/1/scheduled_interviews
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
Content-Type:
|
16
|
+
- application/json;charset=utf-8
|
17
|
+
Date:
|
18
|
+
- Sun, 11 May 2014 23:21:19 GMT
|
19
|
+
Status:
|
20
|
+
- 200 OK
|
21
|
+
X-Content-Type-Options:
|
22
|
+
- nosniff
|
23
|
+
X-Ratelimit-Limit:
|
24
|
+
- '20'
|
25
|
+
X-Ratelimit-Remaining:
|
26
|
+
- '20'
|
27
|
+
Content-Length:
|
28
|
+
- '562'
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
body:
|
32
|
+
encoding: UTF-8
|
33
|
+
string: "[{\"id\":435294,\"starts_at\":\"2014-01-10T21:00:00Z\",\"ends_at\":\"2014-01-10T21:15:00Z\",\"location\":null,\"status\":\"complete\",\"interview\":{\"id\":85265,\"name\":\"Task
|
34
|
+
Follow Up\"},\"organizer\":{\"id\":3850,\"name\":\"Test User\"},\"interviewers\":[{\"id\":3850,\"name\":\"Test User\",\"email\":null}]},{\"id\":435293,\"starts_at\":\"2014-01-11T13:00:00Z\",\"ends_at\":\"2014-01-11T13:45:00Z\",\"location\":\"Phone\",\"status\":\"complete\",\"interview\":{\"id\":39539,\"name\":\"Preliminary
|
35
|
+
Screening Call\"},\"organizer\":{\"id\":3850,\"name\":\"Test User\"},\"interviewers\":[{\"id\":3850,\"name\":\"Test User\",\"email\":null}]}]"
|
36
|
+
http_version:
|
37
|
+
recorded_at: Sun, 11 May 2014 23:21:20 GMT
|
38
|
+
recorded_with: VCR 2.5.0
|
@@ -0,0 +1,37 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://123FakeToken:@harvest.greenhouse.io/v1/applications/1/scorecards
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
Content-Type:
|
16
|
+
- application/json;charset=utf-8
|
17
|
+
Date:
|
18
|
+
- Sun, 11 May 2014 06:50:36 GMT
|
19
|
+
Status:
|
20
|
+
- 200 OK
|
21
|
+
X-Content-Type-Options:
|
22
|
+
- nosniff
|
23
|
+
X-Ratelimit-Limit:
|
24
|
+
- '20'
|
25
|
+
X-Ratelimit-Remaining:
|
26
|
+
- '20'
|
27
|
+
Content-Length:
|
28
|
+
- '2808'
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
body:
|
32
|
+
encoding: UTF-8
|
33
|
+
string: "[{\"interview\":\"Task Follow Up\",\"interviewed_at\":\"2014-01-13T00:00:00Z\",\"submitted_by\":{\"id\":3850,\"name\":\"Test User\"},\"submitted_at\":\"2014-01-13T22:06:55Z\",\"overall_recommendation\":\"no_decision\",\"ratings\":{\"definitely_not\":[],\"no\":[],\"mixed\":[],\"yes\":[],\"strong_yes\":[]},\"questions\":[{\"id\":null,\"question\":\"Key
|
34
|
+
Take-Aways\",\"answer\":\"\"},{\"id\":null,\"question\":\"Private Notes\",\"answer\":\"\"}]}]"
|
35
|
+
http_version:
|
36
|
+
recorded_at: Sun, 11 May 2014 06:50:37 GMT
|
37
|
+
recorded_with: VCR 2.5.0
|
@@ -0,0 +1,39 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://123FakeToken:@harvest.greenhouse.io/v1/sources/1
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
Content-Type:
|
16
|
+
- application/json;charset=utf-8
|
17
|
+
Date:
|
18
|
+
- Sun, 11 May 2014 23:46:48 GMT
|
19
|
+
Status:
|
20
|
+
- 200 OK
|
21
|
+
X-Cascade:
|
22
|
+
- pass
|
23
|
+
X-Content-Type-Options:
|
24
|
+
- nosniff
|
25
|
+
X-Ratelimit-Limit:
|
26
|
+
- '20'
|
27
|
+
X-Ratelimit-Remaining:
|
28
|
+
- '20'
|
29
|
+
Content-Length:
|
30
|
+
- '32'
|
31
|
+
Connection:
|
32
|
+
- keep-alive
|
33
|
+
body:
|
34
|
+
encoding: UTF-8
|
35
|
+
string: "{\"id\":1,\"name\":\"Customer newsletter\",\"type\":{\"id\":1,\"name\":\"Company
|
36
|
+
marketing\"}}"
|
37
|
+
http_version:
|
38
|
+
recorded_at: Sun, 11 May 2014 23:46:49 GMT
|
39
|
+
recorded_with: VCR 2.5.0
|