Sha256: fe011e8b307133af4d32c47b6834747714cdf2d9eec299c876d38e0bb217155f

Contents?: true

Size: 344 Bytes

Versions: 62

Compression:

Stored size: 344 Bytes

Contents

# This class is just an intermediate for representing potential event occurences.
class Caren::EventSlot < Caren::Base

  def self.keys
    [ :date,              # Date
      :start,             # String
      :duration,          # Integer
    ]
  end

  def self.array_root
   :event_slots
  end

  def self.node_root
   :event_slot
  end

end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
caren-api-0.5.20 lib/caren/event_slot.rb
caren-api-0.5.19 lib/caren/event_slot.rb
caren-api-0.5.18 lib/caren/event_slot.rb
caren-api-0.5.17 lib/caren/event_slot.rb
caren-api-0.5.16 lib/caren/event_slot.rb
caren-api-0.5.15 lib/caren/event_slot.rb
caren-api-0.5.14 lib/caren/event_slot.rb
caren-api-0.5.13 lib/caren/event_slot.rb
caren-api-0.5.12 lib/caren/event_slot.rb
caren-api-0.5.10 lib/caren/event_slot.rb
caren-api-0.5.9 lib/caren/event_slot.rb
caren-api-0.5.8 lib/caren/event_slot.rb
caren-api-0.5.7 lib/caren/event_slot.rb
caren-api-0.5.6 lib/caren/event_slot.rb
caren-api-0.5.5 lib/caren/event_slot.rb
caren-api-0.5.4 lib/caren/event_slot.rb
caren-api-0.5.3 lib/caren/event_slot.rb
caren-api-0.5.2 lib/caren/event_slot.rb
caren-api-0.5.1 lib/caren/event_slot.rb
caren-api-0.5.0 lib/caren/event_slot.rb