Skip to content

Correct connection logic #2

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

Merged
merged 6 commits into from
Mar 10, 2017
Merged

Correct connection logic #2

merged 6 commits into from
Mar 10, 2017

Conversation

joaosimbiose
Copy link
Member

No description provided.

SlicingDice.cpp Outdated
port = 80;
apiKey = apiUserKey;
test = 0;
Copy link
Contributor

Choose a reason for hiding this comment

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

use boolean
find better name

'useProductionCluster'
or something like this.

SlicingDice.cpp Outdated
}

SlicingDice::SlicingDice(const char* apiUserKey, const char* customHost) {
SlicingDice::SlicingDice(String apiUserKey, const char* customHost) {
host = customHost;
Copy link
Contributor

Choose a reason for hiding this comment

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

when on repeated construction like these, I refactor the code to a contruct() method

@joaosimbiose joaosimbiose merged commit c36587a into master Mar 10, 2017
@joaosimbiose joaosimbiose deleted the feature/correct-code branch March 10, 2017 15:02
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