Sha256: 72611bc41f1065127ce178130ebf04b682c2730c98ccb185ef9d7a223c47bd96
Contents?: true
Size: 1006 Bytes
Versions: 9
Compression:
Stored size: 1006 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 :reservation, # Integer :valid_from, # Date :valid_to, # Date :person_first_name, # String :person_last_name, # String :person_male, # Boolean :billable_id, # Integer (Caren billable id) :billable_amount, # Integer :cancel_before, # DateTime :subject_id, # Integer (Caren subject id) :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
9 entries across 9 versions & 1 rubygems