Sha256: 38551282c91504396c47dc11e6a3b332d8ffb8e91e3c6d9f46c2d4042fc05080

Contents?: true

Size: 400 Bytes

Versions: 2

Compression:

Stored size: 400 Bytes

Contents

module Onebox
  module Engine
    class ClikThroughOnebox
      include Engine
      include OpenGraph

      matches do
        # /^https?:\/\/(?:www.)?clikthrough.com\/theater\/video\/\d+$/
        find "clikthrough.com"
      end

      private

      def data
        {
          url: @url,
          title: raw.title,
          description: raw.description
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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