Sha256: 13937e544f999b5fb6174c0d09faa1faad47d3e7a26cf334e3964677b26adf0d

Contents?: true

Size: 254 Bytes

Versions: 13

Compression:

Stored size: 254 Bytes

Contents

require 'virtus'

require 'vedeu/models/attributes/collection'
require 'vedeu/models/stream'

module Vedeu
  class StreamCollection < Virtus::Attribute
    include Collection

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
vedeu-0.1.9 lib/vedeu/models/attributes/stream_collection.rb
vedeu-0.1.8 lib/vedeu/models/attributes/stream_collection.rb
vedeu-0.1.7 lib/vedeu/models/attributes/stream_collection.rb
vedeu-0.1.6 lib/vedeu/models/attributes/stream_collection.rb
vedeu-0.1.5 lib/vedeu/models/attributes/stream_collection.rb
vedeu-0.1.4 lib/vedeu/models/attributes/stream_collection.rb
vedeu-0.1.3 lib/vedeu/models/attributes/stream_collection.rb
vedeu-0.1.2 lib/vedeu/models/attributes/stream_collection.rb
vedeu-0.1.1 lib/vedeu/models/attributes/stream_collection.rb
vedeu-0.1.0 lib/vedeu/models/attributes/stream_collection.rb
vedeu-0.0.42 lib/vedeu/models/attributes/stream_collection.rb
vedeu-0.0.41 lib/vedeu/models/attributes/stream_collection.rb
vedeu-0.0.40 lib/vedeu/models/attributes/stream_collection.rb