Class: Caren::EventSlot
Overview
This class is just an intermediate for representing potential event occurences.
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
Methods inherited from Base
#as_xml, from_xml, hash_from_image, init_dependent_objects, #initialize, #node_root, resource_location, resource_url, #resource_url, search_url, #to_xml, to_xml
Constructor Details
This class inherits a constructor from Caren::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Caren::Base
Class Method Details
.array_root ⇒ Object
11 12 13 |
# File 'lib/caren/event_slot.rb', line 11 def self.array_root :event_slots end |
.keys ⇒ Object
4 5 6 7 8 9 |
# File 'lib/caren/event_slot.rb', line 4 def self.keys [ :date, # Date :start, # String :duration, # Integer ] end |
.node_root ⇒ Object
15 16 17 |
# File 'lib/caren/event_slot.rb', line 15 def self.node_root :event_slot end |