Sha256: c08868540bafd2675d96d7f688ca750b0c37b22aba47f4f6fcc10d16da037c4a

Contents?: true

Size: 239 Bytes

Versions: 2

Compression:

Stored size: 239 Bytes

Contents

module PictureFrom
  class TwitterPicture

    def initialize
      @twitter_crawler = Crawlers::TwitterCrawler.new
    end

    def picture_from_username(username)
      @twitter_crawler.image_url_by_username(username)
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
picture_from-1.0.1 lib/picture_from/twitter_picture.rb
picture_from-1.0.0 lib/picture_from/twitter_picture.rb