Class: Blackbaud::Grade

Inherits:
BlackbaudObject show all
Defined in:
lib/blackbaud-client/api/grade.rb

Instance Attribute Summary collapse

Attributes inherited from BlackbaudObject

#client

Instance Method Summary collapse

Methods inherited from BlackbaudObject

#format_date, #initialize, #to_json

Constructor Details

This class inherits a constructor from Blackbaud::BlackbaudObject

Instance Attribute Details

#ea7_marking_column_idObject

Returns the value of attribute ea7_marking_column_id.



3
4
5
# File 'lib/blackbaud-client/api/grade.rb', line 3

def ea7_marking_column_id
  @ea7_marking_column_id
end

#ea7_record_idObject

Returns the value of attribute ea7_record_id.



3
4
5
# File 'lib/blackbaud-client/api/grade.rb', line 3

def ea7_record_id
  @ea7_record_id
end

#ea7_student_course_idObject

Returns the value of attribute ea7_student_course_id.



3
4
5
# File 'lib/blackbaud-client/api/grade.rb', line 3

def ea7_student_course_id
  @ea7_student_course_id
end

#ea7_student_grade_idObject

Returns the value of attribute ea7_student_grade_id.



3
4
5
# File 'lib/blackbaud-client/api/grade.rb', line 3

def ea7_student_grade_id
  @ea7_student_grade_id
end

#ea7_student_gradebook_grade_idObject

Returns the value of attribute ea7_student_gradebook_grade_id.



3
4
5
# File 'lib/blackbaud-client/api/grade.rb', line 3

def ea7_student_gradebook_grade_id
  @ea7_student_gradebook_grade_id
end

#ea7_translation_table_entry_idObject

Returns the value of attribute ea7_translation_table_entry_id.



3
4
5
# File 'lib/blackbaud-client/api/grade.rb', line 3

def ea7_translation_table_entry_id
  @ea7_translation_table_entry_id
end

#gradeObject

Returns the value of attribute grade.



3
4
5
# File 'lib/blackbaud-client/api/grade.rb', line 3

def grade
  @grade
end

#grade_post_statusObject

Returns the value of attribute grade_post_status.



3
4
5
# File 'lib/blackbaud-client/api/grade.rb', line 3

def grade_post_status
  @grade_post_status
end

#grade_typeObject

Returns the value of attribute grade_type.



3
4
5
# File 'lib/blackbaud-client/api/grade.rb', line 3

def grade_type
  @grade_type
end

#messageObject

Returns the value of attribute message.



3
4
5
# File 'lib/blackbaud-client/api/grade.rb', line 3

def message
  @message
end

#name_for_displayObject

Returns the value of attribute name_for_display.



3
4
5
# File 'lib/blackbaud-client/api/grade.rb', line 3

def name_for_display
  @name_for_display
end

Instance Method Details

#postObject



9
10
11
# File 'lib/blackbaud-client/api/grade.rb', line 9

def post
  @client.post_grades(self)
end

#to_hashObject



5
6
7
# File 'lib/blackbaud-client/api/grade.rb', line 5

def to_hash
  super([:@ea7_marking_column_id, :@ea7_student_course_id, :@ea7_student_grade_id, :@ea7_translation_table_entry_id, :@message, :@grade])
end