Class: BookingsyncPortal::RemoteRental
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- BookingsyncPortal::RemoteRental
- Defined in:
- app/models/bookingsync_portal/remote_rental.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#connected? ⇒ Boolean
24 25 26 |
# File 'app/models/bookingsync_portal/remote_rental.rb', line 24 def connected? rental.present? end |
#display_name ⇒ Object
20 21 22 |
# File 'app/models/bookingsync_portal/remote_rental.rb', line 20 def display_name uid end |
#synchronized? ⇒ Boolean
28 29 30 |
# File 'app/models/bookingsync_portal/remote_rental.rb', line 28 def synchronized? synchronized_at.present? end |