Sha256: 8f322141b5d502ec9f1d0fcd1bb0625539f06dfa3dc2efd6b69063d8b1947848
Contents?: true
Size: 332 Bytes
Versions: 20
Compression:
Stored size: 332 Bytes
Contents
require 'link_thumbnailer/model' module LinkThumbnailer module Models class Favicon < ::LinkThumbnailer::Model attr_reader :uri def initialize(uri) @uri = uri end def to_s uri.to_s end def as_json(*) { src: to_s } end end end end
Version data entries
20 entries across 20 versions & 1 rubygems