Class: Blackbaud::AttendanceRecord

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

Instance Attribute Summary collapse

Attributes inherited from BlackbaudObject

#client

Instance Method Summary collapse

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(options)
  options.fetch(:values)
  self.date = format_date(options.fetch(:values)["date"])
  options.fetch(:values).delete(:date)
  super
end

Instance Attribute Details

#codeObject

Returns the value of attribute code.



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

def code
  @code
end

#dateObject

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_idObject

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_idObject

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_displayObject

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