Sha256: 79e8e7b9be02e0c7da9d6eb977a60bb5b5b304fe5fdcbaca92ffe35740176fa2
Contents?: true
Size: 725 Bytes
Versions: 3
Compression:
Stored size: 725 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) ] + super end def self.array_root :events end def self.node_root :event end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
caren-api-0.4.6 | lib/caren/event.rb |
caren-api-0.4.5 | lib/caren/event.rb |
caren-api-0.4.4 | lib/caren/event.rb |