lib/enlight/models/course.rb in enlight-0.1.2 vs lib/enlight/models/course.rb in enlight-0.1.3
- old
+ new
@@ -16,9 +16,11 @@
attr_accessor :custom_fields
attr_accessor :profile_image_url
attr_accessor :completed
attr_accessor :started
attr_accessor :expires
+ attr_accessor :duration
+ attr_accessor :duration_unit_id
alias_method :activities, :activites
def activites=(value)
if value.instance_of?(Array) && value.any?