
ruby-geonames - issue #5
postal_code_search method with three arguments doesn't work
What steps will reproduce the problem? 1. The web_service.rb file includes the method postal_code_search which takes three arguments. Immediately following this definition is another definition of postal_code_search which takes one argument. Since we are dealing with Ruby here, the first method gets overwritten. 2. Even if this did work, there is a typo in the body of the method which renders it useless. postal_code_sc.coutry_code = country_code should be postal_code_sc.country_code = country_code
What version of the product are you using? On what operating system? geonames 0.2.2
Comment #1
Posted on May 8, 2009 by Massive BearI have applied your change to my fork on GitHub:
http://github.com/elecnix/ruby-geonames/commit/6daa776655ea23f2ae24b063392c5149d3bc1578
Status: New
Labels:
Type-Defect
Priority-Medium