Sha256: 057606ca28a0dc6488c555a5a4756b56b0fe0fc4c24a5c29a1dfecba133b06fc

Contents?: true

Size: 238 Bytes

Versions: 6

Compression:

Stored size: 238 Bytes

Contents

require 'virtus'

require_relative 'collection'
require_relative '../stream'

module Vedeu
  class StreamCollection < Virtus::Attribute
    include Collection

    def coerce(values)
      coercer(values, Stream, :text)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
vedeu-0.0.39 lib/vedeu/models/attributes/stream_collection.rb
vedeu-0.0.38 lib/vedeu/models/attributes/stream_collection.rb
vedeu-0.0.37 lib/vedeu/models/attributes/stream_collection.rb
vedeu-0.0.36 lib/vedeu/models/attributes/stream_collection.rb
vedeu-0.0.35 lib/vedeu/models/attributes/stream_collection.rb
vedeu-0.0.34 lib/vedeu/models/attributes/stream_collection.rb