Sha256: 1d52795b7a1c995547f248ca337d99221bdec82daf7da61c762dc974707a3f1b

Contents?: true

Size: 335 Bytes

Versions: 9

Compression:

Stored size: 335 Bytes

Contents

module Enlight
  module Responses
    module ClassEnrollmentAttributable
      attr_accessor :class_enrollment

      def class_enrollment=(value)
        if class_enrollment
          @class_enrollment = Enlight::Models::ClassEnrollment.new(value)
        else
          @class_enrollment = 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/class_enrollment_attributable.rb
enlight-0.2.3 lib/enlight/responses/class_enrollment_attributable.rb
enlight-0.2.2 lib/enlight/responses/class_enrollment_attributable.rb
enlight-0.2.1 lib/enlight/responses/class_enrollment_attributable.rb
enlight-0.2.0 lib/enlight/responses/class_enrollment_attributable.rb
enlight-0.1.4 lib/enlight/responses/class_enrollment_attributable.rb
enlight-0.1.3 lib/enlight/responses/class_enrollment_attributable.rb
enlight-0.1.2 lib/enlight/responses/class_enrollment_attributable.rb
enlight-0.1.0 lib/enlight/responses/class_enrollment_attributable.rb