class Supersaas::Slot

Attributes

bookings[R]
count[RW]
description[RW]
finish[RW]
id[RW]
location[RW]
name[RW]
start[RW]
title[RW]

Public Instance Methods

bookings=(value) click to toggle source
# File lib/supersaas-api-client/models/slot.rb, line 6
def bookings=(value)
  if value.is_a?(Array)
    @bookings = value.map {|attributes| Supersaas::Appointment.new(attributes) }
  else
    @bookings = value
  end
end