Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preparation for SpaceX API v4 support #82

Merged
merged 1 commit into from
Oct 31, 2020

Conversation

invacuo
Copy link
Collaborator

@invacuo invacuo commented Oct 11, 2020

Why?

  • SpaceX API now has a V4 available.
  • In order to make this gem support the v4 endpoints, we should be able to pass v4 path as a parameter
  • That way, we can continue to support v3 as well as v4 API endpoints

Description

  • Updated BaseRequest to accept a version parameter which we will then append to the base endpoint path
  • Updated related specs

#### Why?
- SpaceX API now has a [V4](https://github.com/r-spacex/SpaceX-API/blob/master/docs/v4/README.md) available.
- In order to make this gem support the v4 endpoints, we should be able to pass v4 path as a parameter
- That way, we can continue to support v3 as well as v4 API endpoints

#### Description
- Updated BaseRequest to accept a version parameter which we will then append to the base endpoint path
- Updated related specs
@rodolfobandeira
Copy link
Owner

Sorry @invacuo
I've been super busy, I'll take a look at this in the next 2 days.

@rodolfobandeira rodolfobandeira self-assigned this Oct 20, 2020
@rodolfobandeira rodolfobandeira added the hacktoberfest HacktoberFest label Oct 20, 2020
@rodolfobandeira rodolfobandeira merged commit 174f69f into rodolfobandeira:master Oct 31, 2020
@invacuo invacuo mentioned this pull request Oct 31, 2020
@invacuo invacuo deleted the prep_for_v4 branch October 31, 2020 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants