Skip to content

Instantly share code, notes, and snippets.

@cbartlett
Created December 10, 2012 22:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cbartlett/4253907 to your computer and use it in GitHub Desktop.
Save cbartlett/4253907 to your computer and use it in GitHub Desktop.
def find_business_by_tel(what, filter=nil, page=1, page_length=40)
what = what.gsub(/\D/, '')#keep only digital caracteres
return find_business(what, 'canada', filter, page, page_length)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment