Sha256: 41d24a746d10d6721202a03a071474efb545f90dd9d2e8feadff0e2a73ecc796

Contents?: true

Size: 232 Bytes

Versions: 4

Compression:

Stored size: 232 Bytes

Contents

module MystroVolley
  class Project
    include Mongoid::Document
    include Mongoid::Timestamps

    has_many :branches, class_name: 'MystroVolley::Branch'

    field :name, type: String

    def to_s
      name
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mystro-volley-0.1.0 app/models/mystro_volley/project.rb
mystro-volley-0.1.0.rc3 app/models/mystro_volley/project.rb
mystro-volley-0.1.0.rc2 app/models/mystro_volley/project.rb
mystro-volley-0.1.0.rc1 app/models/mystro_volley/project.rb