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.7.0 lib/caren/event_slot.rb
caren-api-0.6.18 lib/caren/event_slot.rb
caren-api-0.6.17 lib/caren/event_slot.rb
caren-api-0.6.16 lib/caren/event_slot.rb
caren-api-0.6.15 lib/caren/event_slot.rb
caren-api-0.6.14 lib/caren/event_slot.rb
caren-api-0.6.13 lib/caren/event_slot.rb
caren-api-0.6.12 lib/caren/event_slot.rb
caren-api-0.6.11 lib/caren/event_slot.rb
caren-api-0.6.10 lib/caren/event_slot.rb
caren-api-0.6.9 lib/caren/event_slot.rb
caren-api-0.6.8 lib/caren/event_slot.rb
caren-api-0.6.7 lib/caren/event_slot.rb
caren-api-0.6.6 lib/caren/event_slot.rb
caren-api-0.6.5 lib/caren/event_slot.rb
caren-api-0.6.4 lib/caren/event_slot.rb
caren-api-0.6.3 lib/caren/event_slot.rb
caren-api-0.6.2 lib/caren/event_slot.rb
caren-api-0.6.1 lib/caren/event_slot.rb
caren-api-0.6.0 lib/caren/event_slot.rb