Class: MrCommon::PreRegistrationImporter::RowStruct
- Inherits:
-
Struct
- Object
- Struct
- MrCommon::PreRegistrationImporter::RowStruct
- Defined in:
- app/models/mr_common/pre_registration_importer.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
Returns the value of attribute email.
-
#first_name ⇒ Object
Returns the value of attribute first_name.
-
#last_name ⇒ Object
Returns the value of attribute last_name.
Instance Method Summary collapse
-
#new? ⇒ Boolean
Returns true if the row does not represent a duplicate PreRegistration.
Instance Attribute Details
#email ⇒ Object
Returns the value of attribute email
14 15 16 |
# File 'app/models/mr_common/pre_registration_importer.rb', line 14 def email @email end |
#first_name ⇒ Object
Returns the value of attribute first_name
14 15 16 |
# File 'app/models/mr_common/pre_registration_importer.rb', line 14 def first_name @first_name end |
#last_name ⇒ Object
Returns the value of attribute last_name
14 15 16 |
# File 'app/models/mr_common/pre_registration_importer.rb', line 14 def last_name @last_name end |
Instance Method Details
#new? ⇒ Boolean
Returns true if the row does not represent a duplicate PreRegistration
17 18 19 |
# File 'app/models/mr_common/pre_registration_importer.rb', line 17 def new? !PreRegistration.exists_for?(self) end |