ruby_open_weather_map icon indicating copy to clipboard operation
ruby_open_weather_map copied to clipboard

Implement method for finding current weather by zipcode

Open Gilmoursa opened this issue 9 years ago • 4 comments

Create method for finding current weather by zipcode.

api.rb

#Zip format : 33704,US
#Usage: OpenWeather::Current.zip('33704,Us')
    def zip(zip, options ={})
      new(options.merge(zip: zip)).retrieve
    end

Gilmoursa avatar Dec 29 '15 02:12 Gilmoursa

@Gilmoursa can you have a look at why the spec is failing.

manusajith avatar Dec 29 '15 05:12 manusajith

I didn't write a spec for the zip method. I'm not sure why the spec is failing in Travis CI. I ran bundle exec rspec in terminal and I have 39 tests passing and 0 failures.

Gilmoursa avatar Dec 29 '15 05:12 Gilmoursa

:+1:

vanboom avatar Nov 21 '16 23:11 vanboom

@manusajith is there a way to help with merge of this PR? Would love to have zipcode method

valerybugakov avatar Mar 30 '17 09:03 valerybugakov