HackerParadise2014/el_pinguino

View on GitHub

Showing 1 of 1 total issue

Method find_locations has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def find_locations (**opts)
      city = opts.fetch(:city, nil)
      state = opts.fetch(:state, nil)
      country = opts.fetch(:country)
      location_url = "#{country}/#{state}/#{city}".gsub(' ','-').gsub('//','/')
Severity: Minor
Found in lib/el_pinguino.rb - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language