Sha256: a0cc1b8e1825da8cf51e5f052c9897f2084e3f6747173f4b175b09a889d761fa

Contents?: true

Size: 208 Bytes

Versions: 2

Compression:

Stored size: 208 Bytes

Contents

module Cohortly
  class GroupCohort < Cohortly::UserCohort
    def store!
      return unless self.name
      self.user_ids = Cohortly::Cohorts.group_name(self.name)
      self.save        
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cohortly-0.0.93 app/models/cohortly/group_cohort.rb
cohortly-0.0.92 app/models/cohortly/group_cohort.rb