argument validation in request_spec
Merge pull request #355 from rusikf/patch-6

argument validation in request_spec