? unless params.empty?
add spec and nil check
Merge pull request #10 from sonots/trivial_fix_query_string

Trivial fix query string