Sha256: 5e2f1717de7897e79d3cd1e6b255a3602c1147d5a45861528948c85df21b9aaf

Contents?: true

Size: 316 Bytes

Versions: 3

Compression:

Stored size: 316 Bytes

Contents

module Thumbnailer
  class WebSnapr < Thumbnailer::Base
    def initialize(uri)
      @small_thumb_image = "http://images.websnapr.com/?size=S&key=#{WEBSNAPR_KEY}&url=#{uri.to_s}"
      @thumb_image = "http://images.websnapr.com/?size=T&key=#{WEBSNAPR_KEY}&url=#{uri.to_s}"
      @embed_url = nil
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
thumbnailer-ruby-0.1.2 lib/thumbnailer/sites/websnapr.rb
thumbnailer-ruby-0.1.1 lib/thumbnailer/sites/websnapr.rb
thumbnailer-ruby-0.1.0 lib/thumbnailer/sites/websnapr.rb