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