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

Allow overriding the default hostname #5

Merged
merged 3 commits into from
Oct 16, 2023
Merged

Allow overriding the default hostname #5

merged 3 commits into from
Oct 16, 2023

Conversation

lavaturtle
Copy link
Contributor

This updates the EngagingNetworksRest.new and EngagingNetworksRest::Client.new methods to accept an optional host parameter. If that parameter is set, network calls will be made to the specified domain name instead of to www.e-activist.com.

Not included: Changing the default domain to something more modern, e.g. ca.engagingnetworks.app. We'll want to release a new major version for that, since it would be a breaking change for any existing users.

@lavaturtle lavaturtle added the enhancement New feature or request label Oct 16, 2023
Copy link
Contributor

@anero anero left a comment

Choose a reason for hiding this comment

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

👍

lib/engaging_networks_rest.rb Show resolved Hide resolved
@lavaturtle lavaturtle merged commit 2bdf732 into main Oct 16, 2023
2 checks passed
@lavaturtle lavaturtle deleted the hostname-support branch October 16, 2023 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants