Sha256: 20b08a2f35c7b0d8a5731891b00f2d61654b15217c3848ce6391f3fd9b955bbb
Contents?: true
Size: 784 Bytes
Versions: 26
Compression:
Stored size: 784 Bytes
Contents
# This class is just an intermediate for exporting events to Caren. # It has the correct format for exports. class Caren::Event < Caren::Base def self.keys [ :external_id, # String Unique identifying string (Your event id) :name, # String :comment, # String :start, # String (14:00) :duration, # Integer :valid_from, # Date :valid_to, # Date :person_first_name, # String :person_last_name, # String :person_male, # Boolean :external_person_id,# String (Your person id) :source # String (remote_schedule,remote_realisation) ] + super end def self.array_root :events end def self.node_root :event end end
Version data entries
26 entries across 26 versions & 1 rubygems