Sha256: 6a6a008c79abf6c59e2c3c2d6131417cd562e072a2bfc560542d5d991a4dded0

Contents?: true

Size: 297 Bytes

Versions: 1

Compression:

Stored size: 297 Bytes

Contents

module AssetHostCore
  class YoutubeVideo < Video
    def attrs
      {
        "data-assethost"  => "YoutubeVideo",
        "data-ah-videoid" => self.videoid
      }
    end

    def as_json
      {
        :class    => "YoutubeVideo",
        :videoid  => self.videoid
      }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
asset_host_core-2.0.0.beta app/models/asset_host_core/youtube_video.rb