Sha256: 5916d7b24961ddfd81e3ca7e8de1a84a9bdd71508cc8816120faa1c9d8c7f491

Contents?: true

Size: 745 Bytes

Versions: 1

Compression:

Stored size: 745 Bytes

Contents

module Enlight
  module Models
    class CourseActivity < Enlight::Models::Model
      attr_accessor :parent_id
      attr_accessor :activity_type_id
      attr_accessor :activity_id
      attr_accessor :activity_type_name
      attr_accessor :name
      attr_accessor :description
      attr_accessor :subtitle
      attr_accessor :allow_retake
      attr_accessor :allow_review
      attr_accessor :url
      attr_accessor :sort_order
      attr_accessor :required
      attr_accessor :availability_type_id
      attr_accessor :expected_duration_seconds
      attr_accessor :is_exam
      attr_accessor :activites

      # alias method required due to spelling error in Enlight API
      alias_method :activities, :activites
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
enlight-0.1.0 lib/enlight/models/course_activity.rb