Class: BookingsyncPortal::Account

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
BookingSync::Engine::Models::Account
Defined in:
app/models/bookingsync_portal/account.rb

Direct Known Subclasses

Account

Class Method Summary collapse

Class Method Details

.apiObject

Used to synchronize accounts using ‘Account.synchronize(remove: true)`



12
13
14
# File 'app/models/bookingsync_portal/account.rb', line 12

def self.api
  BookingSync::API::Client.new(BookingSync::Engine.application_token.token)
end