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 timeouts variables to configuration #25

Merged
merged 1 commit into from
May 8, 2015
Merged

Add timeouts variables to configuration #25

merged 1 commit into from
May 8, 2015

Conversation

ka8725
Copy link
Contributor

@ka8725 ka8725 commented May 2, 2015

No description provided.

@ka8725
Copy link
Contributor Author

ka8725 commented May 2, 2015

#24

@dblock
Copy link
Collaborator

dblock commented May 3, 2015

This needs tests, a CHANGELOG entry and README documentation, please.

@@ -3,7 +3,7 @@ module TaxCloud #:nodoc:
class Client < Savon::Client
# Create a new client.
def initialize
super wsdl: TaxCloud::WSDL_URL
super client_params.merge(wsdl: TaxCloud::WSDL_URL)
Copy link
Collaborator

Choose a reason for hiding this comment

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

The WSDL setting should move into client_params as well IMO. There's no need for special treatment. Client params could be something close to:

{ wsdl: TaxCloud::WSDL_URL }.merge(TaxCloud.configuration)

I believe TaxCloud.configuration is always defined, or at least should be.

@dblock
Copy link
Collaborator

dblock commented May 3, 2015

FYI I updated minitest and what not, fixing the build in #26, rebase.

@@ -20,8 +20,6 @@ load 'lib/tasks/tax_cloud.rake'
load 'lib/tasks/tax_codes.rake'
load 'lib/tasks/tax_code_groups.rake'

load 'vcr/tasks/vcr.rake'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Had an exception during load the file about its missing. Not sure that the change is correct.

@dblock
Copy link
Collaborator

dblock commented May 5, 2015

See my comments + squash the commits please.

@ka8725
Copy link
Contributor Author

ka8725 commented May 7, 2015

@dblock , done. Please, review

@dblock
Copy link
Collaborator

dblock commented May 7, 2015

The code looks great, the only thing is about documentation - what is the timeout in ? Seconds? Milliseconds? Can you please update with making that clear? Thanks.

@ka8725
Copy link
Contributor Author

ka8725 commented May 7, 2015

fixed

@dblock
Copy link
Collaborator

dblock commented May 8, 2015

Merging, thanks for your cooperation!

dblock added a commit that referenced this pull request May 8, 2015
Add timeouts variables to configuration
@dblock dblock merged commit dba1419 into txcrb:master May 8, 2015
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.

3 participants