Skip to content

Conversation

@TimeRaider
Copy link
Contributor

GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH

GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 9e732db on TimeRaider:method-shortcuts into 57c0dcc on auru:master.

1 similar comment
@coveralls
Copy link

coveralls commented Feb 20, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling 9e732db on TimeRaider:method-shortcuts into 57c0dcc on auru:master.

src/shortcuts.js Outdated
...rest,
options: {
...options,
method
Copy link
Contributor

Choose a reason for hiding this comment

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

What if I'll use shortcut and method in options? I see shortcut's the most priority argument, but are you sure it is the right way? I think case when you are passing method through arguments more usual case.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

now that i think about, it was a wrong decision, i can see how overriding the method when calling api may be beneficial
i'll change that

@coveralls
Copy link

coveralls commented Feb 20, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling 7c61e86 on TimeRaider:method-shortcuts into 57c0dcc on auru:master.

Copy link
Contributor

@Blackheart340 Blackheart340 left a comment

Choose a reason for hiding this comment

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

🎉

@TimeRaider TimeRaider merged commit ec4a8d1 into auru:master Feb 20, 2017
@TimeRaider TimeRaider deleted the method-shortcuts branch February 20, 2017 13:55
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