Class: Blackbaud::AttendanceRecord
- Inherits:
-
BlackbaudObject
- Object
- BlackbaudObject
- Blackbaud::AttendanceRecord
- Defined in:
- lib/blackbaud-client/api/attendance_record.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#date ⇒ Object
Returns the value of attribute date.
-
#ea7_attendance_code_id ⇒ Object
Returns the value of attribute ea7_attendance_code_id.
-
#ea7_record_id ⇒ Object
Returns the value of attribute ea7_record_id.
-
#name_for_display ⇒ Object
Returns the value of attribute name_for_display.
Attributes inherited from BlackbaudObject
Instance Method Summary collapse
-
#initialize(options) ⇒ AttendanceRecord
constructor
A new instance of AttendanceRecord.
Methods inherited from BlackbaudObject
#format_date, #to_hash, #to_json
Constructor Details
#initialize(options) ⇒ AttendanceRecord
Returns a new instance of AttendanceRecord.
5 6 7 8 9 10 |
# File 'lib/blackbaud-client/api/attendance_record.rb', line 5 def initialize() .fetch(:values) self.date = format_date(.fetch(:values)["date"]) .fetch(:values).delete(:date) super end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
3 4 5 |
# File 'lib/blackbaud-client/api/attendance_record.rb', line 3 def code @code end |
#date ⇒ Object
Returns the value of attribute date.
3 4 5 |
# File 'lib/blackbaud-client/api/attendance_record.rb', line 3 def date @date end |
#ea7_attendance_code_id ⇒ Object
Returns the value of attribute ea7_attendance_code_id.
3 4 5 |
# File 'lib/blackbaud-client/api/attendance_record.rb', line 3 def ea7_attendance_code_id @ea7_attendance_code_id end |
#ea7_record_id ⇒ Object
Returns the value of attribute ea7_record_id.
3 4 5 |
# File 'lib/blackbaud-client/api/attendance_record.rb', line 3 def ea7_record_id @ea7_record_id end |
#name_for_display ⇒ Object
Returns the value of attribute name_for_display.
3 4 5 |
# File 'lib/blackbaud-client/api/attendance_record.rb', line 3 def name_for_display @name_for_display end |