Use CGI.escape ratehr than URI.escape to resolve #59
Use proper Ruby object in example
v.3.1.1