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 to our post calls #82

Merged

Conversation

mattrayner
Copy link
Contributor

No description provided.

#
# @return [Parliament::Response::BaseResponse] a Parliament::Response::BaseResponse object containing all of the data returned from the URL.
def post(params: nil, body: nil)
def post(params: nil, body: nil, timeout: 60)

Choose a reason for hiding this comment

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

Assignment Branch Condition size for post is too high. [21.4/15]
Method has too many lines. [15/10]

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.3%) to 99.671% when pulling 9f16631 on mattrayner:mattrayner/add-post-ability into 3f13f7e on ukparliament:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling ce1099b on mattrayner:mattrayner/add-post-ability into 3f13f7e on ukparliament:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling ce1099b on mattrayner:mattrayner/add-post-ability into 3f13f7e on ukparliament:master.

@mattrayner mattrayner merged commit 664a347 into ukparliament:master Nov 10, 2017
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.

None yet

4 participants