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
22 23 24 |
# File 'app/models/bookingsync_portal/remote_rental.rb', line 22 def connected? rental.present? end |
#display_name ⇒ Object
18 19 20 |
# File 'app/models/bookingsync_portal/remote_rental.rb', line 18 def display_name uid end |
#synchronized? ⇒ Boolean
26 27 28 |
# File 'app/models/bookingsync_portal/remote_rental.rb', line 26 def synchronized? synchronized_at.present? end |