Module: Favicon
- Defined in:
- lib/favicon.rb
Overview
Favicon - Favicon Finder for a given URL.
Currently this is a VERY SIMPLE gem that just returns a image for a given URL. Actually, Favicon gem just concatenate two strings and return this value - nothing more, nothing less.
Please, check out our roadmap in the README.md to check what I want to the future of this gem.
Class Method Summary collapse
Class Method Details
.find(url) ⇒ Object
16 17 18 19 20 21 22 23 |
# File 'lib/favicon.rb', line 16 def self.find(url) # Prepare the URL for API Request url = prepareUrl(url) # Return the values return find_favicon(url) end |