Sha256: ea22cae433bf4d4a657c3f97d329252f65b26226a9bf7d56641c9d4316541d23
Contents?: true
Size: 929 Bytes
Versions: 1
Compression:
Stored size: 929 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 :billable_amount, # Integer :cancel_before, # DateTime :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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
caren-api-0.6.5 | lib/caren/event.rb |