lib/youcanbookme/models/profile.rb in youcanbookme-0.0.3.alpha vs lib/youcanbookme/models/profile.rb in youcanbookme-0.0.4.alpha
- old
+ new
@@ -1,17 +1,16 @@
# frozen_string_literal: true
module YouCanBookMe
- # YouCanBookMe's Profile model.
class Profile
include ModelUtils
ASSOCIATION = {
actions: Action,
afterwards: ProfileAfterwards,
appointmentTypes: ProfileAppointmentTypes,
- availableAccounts: ProfileLocalAccount,
+ availableAccounts: ProfileAccount,
calendars: ProfileCalendars,
cancelOrReschedule: ProfileCancelOrReschedule,
databaseVersion: Profile,
display: ProfileDisplay,
payments: ProfilePayments,
@@ -42,11 +41,11 @@
attr_accessor :actions
# @return [YouCanBookMe::ProfileAfterwards]
attr_accessor :afterwards
# @return [YouCanBookMe::ProfileAppointmentTypes]
attr_accessor :appointmentTypes
- # @return [Array<YouCanBookMe::ProfileLocalAccount>]
+ # @return [Array<YouCanBookMe::ProfileAccount>]
attr_accessor :availableAccounts
# @return [Array<YouCanBookMe::ProfileCalendars>]
attr_accessor :calendars
# @return [YouCanBookMe::ProfileCancelOrReschedule]
attr_accessor :cancelOrReschedule
@@ -83,13 +82,15 @@
# @return [String]
attr_accessor :realtimeTopic
# @return [Array<YouCanBookMe::ProfileRemoteReminder>]
attr_accessor :remoteReminders
# @return [String]
+ # ['rescheduleBookingsForReview', 'migrateTo2049Theme']
attr_accessor :requestedAction
# @return [YouCanBookMe::ProfileAppointmentTypes]
attr_accessor :services
# @return [String]
+ # ['ONLINE', 'OFFLINE']
attr_accessor :status
# @return [String]
attr_accessor :subdomain
# @return [YouCanBookMe::ProfileTeamMembers]
attr_accessor :teamMembers