Class: BookingSync::Booking

Inherits:
Base
  • Object
show all
Includes:
Pagination
Defined in:
lib/bookingsync/booking.rb

Instance Method Summary collapse

Instance Method Details

#clientObject



9
10
11
# File 'lib/bookingsync/booking.rb', line 9

def client
  Client.find(client_id) if client_id
end

#rentalObject



5
6
7
# File 'lib/bookingsync/booking.rb', line 5

def rental
  Rental.find(rental_id)
end