Sha256: 69fcb8cd5bd88c98ab746c4805d9eb323f8e85b09a8ce065132cce0315e87ce4

Contents?: true

Size: 291 Bytes

Versions: 1

Compression:

Stored size: 291 Bytes

Contents

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

    def as_json
      {
        :class    => "VimeoVideo",
        :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/vimeo_video.rb