Sha256: f6afed1bdf39a3627ce1c9ee3a03655bd53c93ba9dceb89e04564b32212dbe2f

Contents?: true

Size: 170 Bytes

Versions: 4

Compression:

Stored size: 170 Bytes

Contents

class Video < PostType
  fields :video_url, :description, :embed
  required :video_url
  primary :description
  
  def self.detect?(text)
    has_required? text
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
myobie-turbine-core-0.3.5 lib/turbine-core/types/video.rb
myobie-turbine-core-0.3.6 lib/turbine-core/types/video.rb
myobie-turbine-core-0.3.7 lib/turbine-core/types/video.rb
myobie-turbine-core-0.4.0 lib/turbine-core/types/video.rb