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

Add Sandbox option #137

Merged
merged 4 commits into from
Jul 19, 2016
Merged

Add Sandbox option #137

merged 4 commits into from
Jul 19, 2016

Conversation

nunorafaelrocha
Copy link
Collaborator

@nunorafaelrocha nunorafaelrocha commented Jul 19, 2016

This PR adds sandbox option allowing to choose which API url will be used on the client requests. It is also possible to provide base_url option to override this behaviour.

The sandbox option was added to CreateTokenCommand allowing to create a token in Uphold Sandbox.

This also adds sandbox option as true to the functional tests using the Sandbox API instead of the production one.

All examples were updated with the sandbox option which makes the developers aware of the sandbox option, although it's not mandatory.

Closes #84.

@nunorafaelrocha nunorafaelrocha changed the title Add Sandbox Add Sandbox option Jul 19, 2016
This adds sandbox option allowing to choose which API url will be used
on the client requests.

It is also possible to provide `base_url` option to override this
behaviour.
This adds sandbox option to CreateTokenCommand allowing to create a
token in Uphold Sandbox.
This adds sandbox option to all examples. This makes the developers
aware of the sandbox option, although it's not mandatory.
This adds sandbox option as true to the functional tests using the
Sandbox API instead of the production one.
@nunorafaelrocha nunorafaelrocha force-pushed the feature/sandbox-client-option branch from 23256b8 to 5246366 Compare July 19, 2016 15:09
@joaonice joaonice merged commit 9845cfd into master Jul 19, 2016
@joaonice joaonice deleted the feature/sandbox-client-option branch July 19, 2016 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants