Sha256: b6ad08fbf871c4366e242b69d50c13a3b87c312c0b871458f9a7273d95d878d0

Contents?: true

Size: 188 Bytes

Versions: 1

Compression:

Stored size: 188 Bytes

Contents

class Video < Transit::Context
  alias_attribute :source, :body
  
  def self.sources
    ['Uploaded Video', 'YouTube', 'Vimeo', 'Ted'].collect{ |src| [src, src.underscore ] }
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
transit-0.0.1 app/models/video.rb