Skip to content
This repository was archived by the owner on Nov 8, 2018. It is now read-only.

Workable API Proxy #39

Merged
merged 22 commits into from
Jan 19, 2016
Merged

Workable API Proxy #39

merged 22 commits into from
Jan 19, 2016

Conversation

RGBboy
Copy link
Contributor

@RGBboy RGBboy commented Jan 15, 2016

  • Workable API Key
  • Query Workable Jobs success
  • Query Workable Jobs failures
  • Node API at /api/get-jobs success
  • Node API at /api/get-jobs failures

Anna Doubkova and others added 6 commits January 15, 2016 10:15
Use WORKABLE_KEY;
Add .env docs;
Added workable api routes;
Refactored workable;
@RGBboy RGBboy added the WIP label Jan 15, 2016
@RGBboy
Copy link
Contributor Author

RGBboy commented Jan 15, 2016

Fetch does not reject when the response comes back with a 4xx or 5xx status. whatwg/fetch#18. This will need to be handled by us.

@RGBboy RGBboy changed the title Workable API Workable API Proxy Jan 15, 2016
done();
};
mockWorkable.getJobs.returns(Promise.resolve('test'));
routes.getJobs(req, res);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a thought we could also use https://github.com/domenic/chai-as-promised/ - might make the tests more readable.

@lithin lithin mentioned this pull request Jan 18, 2016
lithin added a commit that referenced this pull request Jan 19, 2016
@lithin lithin merged commit 805ac76 into master Jan 19, 2016
@RGBboy RGBboy deleted the workable-api branch January 19, 2016 09:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants