Sha256: f8e2b2871829bf8fe02f7761328266cbcf3a76f90792cd5e45e672a39fd2d576

Contents?: true

Size: 330 Bytes

Versions: 9

Compression:

Stored size: 330 Bytes

Contents

module Enlight
  module Responses
    module CourseAssignmentAttributable
      attr_accessor :course_assignment

      def course_assignment=(value)
        if value
          @course_assignment = Enlight::Models::CourseAssignment.new(value)
        else
          @course_assignment = nil
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
enlight-0.2.4 lib/enlight/responses/course_assignment_attributable.rb
enlight-0.2.3 lib/enlight/responses/course_assignment_attributable.rb
enlight-0.2.2 lib/enlight/responses/course_assignment_attributable.rb
enlight-0.2.1 lib/enlight/responses/course_assignment_attributable.rb
enlight-0.2.0 lib/enlight/responses/course_assignment_attributable.rb
enlight-0.1.4 lib/enlight/responses/course_assignment_attributable.rb
enlight-0.1.3 lib/enlight/responses/course_assignment_attributable.rb
enlight-0.1.2 lib/enlight/responses/course_assignment_attributable.rb
enlight-0.1.0 lib/enlight/responses/course_assignment_attributable.rb