Sha256: b87a3def02103776eba604b6fccd19bbe97b1335fd003ddfb1a72c6c1a87d72f

Contents?: true

Size: 443 Bytes

Versions: 2

Compression:

Stored size: 443 Bytes

Contents

module Onebox
  module Engine
    class BliptvOnebox
      include Engine
      include OpenGraph

      matches do
        # /^https?:\/\/blip.tv\/.+$/
        find "blip.tv"
      end

      private

      def data
        {
          url: @url,
          title: raw.title,
          image: raw.images.first,
          description: raw.description,
          video: raw.metadata[:video].first[:_value]
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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