Sha256: d52cb65dbc9803817d6e3fc56b847b7dc06a7e730a4a8567991687b7a8a024f5

Contents?: true

Size: 401 Bytes

Versions: 9

Compression:

Stored size: 401 Bytes

Contents

module BridgeCache
  class ProgramGroupEnrollment < BridgeBaseModel
    extend BridgeCache::Data::BridgeModel

    belongs_to :group, foreign_key: :group_id, primary_key: BridgeCache.primary_key, class_name: BridgeCache::Group.name, optional: true
    belongs_to :program, foreign_key: :program_id, primary_key: BridgeCache.primary_key, class_name: BridgeCache::Program.name, optional: true
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
bridge_cache-0.3.8 app/models/bridge_cache/program_group_enrollment.rb
bridge_cache-0.3.7 app/models/bridge_cache/program_group_enrollment.rb
bridge_cache-0.3.6 app/models/bridge_cache/program_group_enrollment.rb
bridge_cache-0.3.5 app/models/bridge_cache/program_group_enrollment.rb
bridge_cache-0.3.4 app/models/bridge_cache/program_group_enrollment.rb
bridge_cache-0.3.3 app/models/bridge_cache/program_group_enrollment.rb
bridge_cache-0.3.2 app/models/bridge_cache/program_group_enrollment.rb
bridge_cache-0.3.01 app/models/bridge_cache/program_group_enrollment.rb
bridge_cache-0.3.0 app/models/bridge_cache/program_group_enrollment.rb