Class: Effective::CourseRegistrant
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Effective::CourseRegistrant
- Defined in:
- app/models/effective/course_registrant.rb
Instance Method Summary collapse
Instance Method Details
#title ⇒ Object
48 49 50 |
# File 'app/models/effective/course_registrant.rb', line 48 def title "#{learndash_course} - #{owner}" end |
#to_s ⇒ Object
44 45 46 |
# File 'app/models/effective/course_registrant.rb', line 44 def to_s persisted? ? title : 'course purchase' end |