Class: Cb::CbResume::CbEducation
- Inherits:
-
Object
- Object
- Cb::CbResume::CbEducation
- Defined in:
- lib/cb/models/cb_resume.rb
Instance Attribute Summary collapse
-
#degree_code ⇒ Object
Returns the value of attribute degree_code.
-
#degree_name ⇒ Object
Returns the value of attribute degree_name.
-
#gpa ⇒ Object
Returns the value of attribute gpa.
-
#graduation_date ⇒ Object
Returns the value of attribute graduation_date.
-
#major ⇒ Object
Returns the value of attribute major.
-
#school_name ⇒ Object
Returns the value of attribute school_name.
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ CbEducation
constructor
A new instance of CbEducation.
Constructor Details
#initialize(args = {}) ⇒ CbEducation
Returns a new instance of CbEducation.
109 110 111 112 113 114 115 116 |
# File 'lib/cb/models/cb_resume.rb', line 109 def initialize(args = {}) @school_name = args['SchoolName'] || '' @major = args['Major'] || '' @degree_name = args['DegreeName'] || '' @degree_code = args['DegreeCode'] || '' @graduation_date = args['GraduationDate'] || '' @gpa = args['GPA'] || '' end |
Instance Attribute Details
#degree_code ⇒ Object
Returns the value of attribute degree_code.
107 108 109 |
# File 'lib/cb/models/cb_resume.rb', line 107 def degree_code @degree_code end |
#degree_name ⇒ Object
Returns the value of attribute degree_name.
107 108 109 |
# File 'lib/cb/models/cb_resume.rb', line 107 def degree_name @degree_name end |
#gpa ⇒ Object
Returns the value of attribute gpa.
107 108 109 |
# File 'lib/cb/models/cb_resume.rb', line 107 def gpa @gpa end |
#graduation_date ⇒ Object
Returns the value of attribute graduation_date.
107 108 109 |
# File 'lib/cb/models/cb_resume.rb', line 107 def graduation_date @graduation_date end |
#major ⇒ Object
Returns the value of attribute major.
107 108 109 |
# File 'lib/cb/models/cb_resume.rb', line 107 def major @major end |
#school_name ⇒ Object
Returns the value of attribute school_name.
107 108 109 |
# File 'lib/cb/models/cb_resume.rb', line 107 def school_name @school_name end |