Showing 1 of 1 total issue
Method find_locations
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
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('//','/')