Sha256: 1167cdc92c35e29bc3e6fc24ab150c7f991f3f30043a9993c8dfb2c625bf226b

Contents?: true

Size: 263 Bytes

Versions: 1

Compression:

Stored size: 263 Bytes

Contents

module Onebox
  module Engine
    module OpengraphImage

      def to_html
        og = get_opengraph
        "<img src='#{og.image}' width='#{og.image_width}' height='#{og.image_height}' class='onebox' #{og.title_attr}>"
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
onebox-1.8.81 lib/onebox/engine/opengraph_image.rb