Skip to content

Commit

Permalink
Merge pull request #45 from grnhse/GREEN-29581-update-jobboard-api-do…
Browse files Browse the repository at this point in the history
…main

Update job board base url to 'https://boards-api.greenhouse.io'
  • Loading branch information
noralin authored Jul 7, 2021
2 parents c5041d4 + 4c633f5 commit 82c6f68
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion lib/greenhouse_io/api/job_board.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class JobBoard
include HTTMultiParty
include GreenhouseIo::API
attr_accessor :api_token, :organization
base_uri 'https://api.greenhouse.io/v1'
base_uri 'https://boards-api.greenhouse.io/v1'

def initialize(api_token = nil, default_options = {})
@api_token = api_token || GreenhouseIo.configuration.api_token
Expand Down
2 changes: 1 addition & 1 deletion spec/fixtures/cassettes/apply_to_job.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/fixtures/cassettes/department.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/fixtures/cassettes/departments.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/fixtures/cassettes/invalid_application.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/fixtures/cassettes/invalid_application_id.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/fixtures/cassettes/invalid_id.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/fixtures/cassettes/invalid_organization.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/fixtures/cassettes/job.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/fixtures/cassettes/job_with_questions.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/fixtures/cassettes/jobs.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/fixtures/cassettes/jobs_with_content.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/fixtures/cassettes/office.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/fixtures/cassettes/offices.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/greenhouse_io/api/job_board_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
describe GreenhouseIo::JobBoard do

it "should have a base url for an API endpoint" do
expect(GreenhouseIo::JobBoard.base_uri).to eq("https://api.greenhouse.io/v1")
expect(GreenhouseIo::JobBoard.base_uri).to eq("https://boards-api.greenhouse.io/v1")
end

context "given an instance of GreenhouseIo::JobBoard" do
Expand Down

0 comments on commit 82c6f68

Please sign in to comment.