Class: Import::ParticipantImportCommandParser

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Validations
Defined in:
api/app/models/import/participant_import_command_parser.rb

Overview

Parses a json full of participants and their associated demographics

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attrs = {}) ⇒ ParticipantImportCommandParser

Returns a new instance of ParticipantImportCommandParser.

Instance Attribute Details

#event ⇒ Object

#in_participants ⇒ Object

#participant_import ⇒ Object

#test ⇒ Object

Instance Method Details

#as_json ⇒ Object

#categories ⇒ Object

#columns_with_duplicate_rows ⇒ Object

#columns_with_invalid_rows ⇒ Object

#missing_categories ⇒ Object

#participants ⇒ Object

#rebuild ⇒ Object

#set_cache ⇒ Object