Class: Booker::Models::Employee

Inherits:
Model
  • Object
show all
Defined in:
lib/booker/models/employee.rb

Direct Known Subclasses

Teacher, Teacher2

Instance Attribute Summary collapse

Method Summary

Methods inherited from Model

constantize, from_hash, from_list, #initialize, time_from_booker_datetime, time_to_booker_datetime, timezone_from_booker_offset!, timezone_from_booker_timezone, #to_hash, #to_json, to_wday

Constructor Details

This class inherits a constructor from Booker::Models::Model

Instance Attribute Details

#FirstNameObject

Returns the value of attribute FirstName.



4
5
6
# File 'lib/booker/models/employee.rb', line 4

def FirstName
  @FirstName
end

#GenderObject

Returns the value of attribute Gender.



4
5
6
# File 'lib/booker/models/employee.rb', line 4

def Gender
  @Gender
end

#IDObject

Returns the value of attribute ID.



4
5
6
# File 'lib/booker/models/employee.rb', line 4

def ID
  @ID
end

#LastNameObject

Returns the value of attribute LastName.



4
5
6
# File 'lib/booker/models/employee.rb', line 4

def LastName
  @LastName
end