Sha256: 5ad2009d0f5627fc2b25e33e27a74eb4a2ae31cc05efd19da127dd49ace54f1d

Contents?: true

Size: 379 Bytes

Versions: 2

Compression:

Stored size: 379 Bytes

Contents

module Bright
  module SisApi
    class OneRoster::InfiniteCampus < OneRoster
      def convert_to_user_data(user_params, bright_type: "Student")
        user_data_hsh = super

        unless user_params["userMasterIdentifier"].blank?
          user_data_hsh[:state_student_id] = user_params["userMasterIdentifier"]
        end

        user_data_hsh
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bright-2.1 lib/bright/sis_apis/one_roster/infinite_campus.rb
bright-2.0 lib/bright/sis_apis/one_roster/infinite_campus.rb