Sha256: 088d9e760901a84c031a14666a14eb731f0a3401aa430bcf4a2f0a62fc28b316

Contents?: true

Size: 388 Bytes

Versions: 2

Compression:

Stored size: 388 Bytes

Contents

module Onebox
  module Engine
    class QikOnebox
      include Engine
      include HTML

      matches do
        # /^https?\:\/\/qik\.com\/video\/.*$/
        find "qik.com"
      end

      private

      def data
        {
          url: @url,
          title: raw.css(".info h2").inner_text,
          image: raw.css(".userphoto").first["src"]
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
onebox-1.0.1 lib/onebox/engine/qik_onebox.rb
onebox-1.0.0 lib/onebox/engine/qik_onebox.rb