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

Make api host configurable #10

Merged
merged 1 commit into from
Jun 5, 2014
Merged

Make api host configurable #10

merged 1 commit into from
Jun 5, 2014

Conversation

EiNSTeiN-
Copy link
Contributor

It's sometimes useful to be able to use some API endpoint other than the default. For instance someone (like me) might want to use a different endpoint to tunnel the requests via transparent proxy.

@mtchavez please review


attr_accessor :token
attr_reader :host, :port # @private
attr_accessor :host, :port
Copy link
Owner

Choose a reason for hiding this comment

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

Can you add the :host and :port to the attr_accessor list with :token in it?

@mtchavez
Copy link
Owner

mtchavez commented Jun 5, 2014

This makes sense if people are going to start using the gem this way. Just one quick change mentioned. Otherwise this looks good.

@EiNSTeiN-
Copy link
Contributor Author

Done!

@mtchavez
Copy link
Owner

mtchavez commented Jun 5, 2014

👍

mtchavez added a commit that referenced this pull request Jun 5, 2014
@mtchavez mtchavez merged commit ffefd78 into mtchavez:master Jun 5, 2014
@EiNSTeiN- EiNSTeiN- deleted the configurable-host branch June 6, 2014 19:51
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