Class: BookingsyncPortal::Account
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- BookingsyncPortal::Account
- Includes:
- BookingSync::Engine::Models::Account
- Defined in:
- app/models/bookingsync_portal/account.rb
Direct Known Subclasses
Class Method Summary collapse
-
.api ⇒ Object
Used to synchronize accounts using ‘Account.synchronize(remove: true)`.
Class Method Details
.api ⇒ Object
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 |