Sha256: e66f75b087b2e7ff3f0991e0b4a31d1a21236dcf28204265734da571572dc0e7
Contents?: true
Size: 358 Bytes
Versions: 5
Compression:
Stored size: 358 Bytes
Contents
module Supersaas class Slot < BaseModel attr_accessor :count, :description, :finish, :id, :location, :name, :start, :title attr_reader :bookings def bookings=(value) if value.is_a?(Array) @bookings = value.map {|attributes| Supersaas::Appointment.new(attributes) } else @bookings = value end end end end
Version data entries
5 entries across 5 versions & 1 rubygems