lib/meibo/enrollment.rb in meibo-0.5.0 vs lib/meibo/enrollment.rb in meibo-0.6.0

- old
+ new

@@ -31,21 +31,19 @@ required: [:sourced_id, :class_sourced_id, :school_sourced_id, :user_sourced_id, :role].freeze, status: [:status].freeze } ) - def initialize(sourced_id:, status: nil, date_last_modified: nil, class_sourced_id:, school_sourced_id:, user_sourced_id:, role:, primary: nil, begin_date: nil, end_date: nil, shusseki_no: nil, public_flg: nil, **extension_fields) + def initialize(sourced_id:, status: nil, date_last_modified: nil, class_sourced_id:, school_sourced_id:, user_sourced_id:, role:, primary: nil, begin_date: nil, end_date: nil, **extension_fields) @sourced_id = sourced_id @status = status @date_last_modified = date_last_modified @class_sourced_id = class_sourced_id @school_sourced_id = school_sourced_id @user_sourced_id = user_sourced_id @role = role @begin_date = begin_date @end_date = end_date - @shusseki_no = shusseki_no - @public_flg = public_flg @extension_fields = extension_fields end def administrator? role == ROLES[:administrator]