vegantech/sims

View on GitHub
lib/csv_importer/content_admins.rb

Summary

Maintainability
A
20 mins
Test Coverage
module CSVImporter
  class ContentAdmins < CSVImporter::BaseRoles
    FIELD_DESCRIPTIONS = { 
      :district_user_id =>"Key for user"
    }
    class << self
      def csv_headers
        [:district_user_id]
      end

      def description
        "List of users with access to the content builders."
      end

      def overwritten
      end

      def load_order
        "After users are uploaded."
      end

      def removed
      end

#      def related
#      end

      def how_often
        "Start of school year, or handle manually."
      end

#      def alternate
#      end

      def upload_responses
        super
      end

      def how_many_rows
        "One row per user with this access."
      end
    end


  end
end