Sha256: 8466a0e256a1a3fd81071d1c53950fe931a7b0d2db3ec51f1a8651a445539869

Contents?: true

Size: 197 Bytes

Versions: 4

Compression:

Stored size: 197 Bytes

Contents

module BookingSync
  class Booking < Base
    include Pagination

    def rental
      Rental.find(rental_id)
    end
    
    def client
      Client.find(client_id) if client_id
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bookingsync-0.3.0 lib/bookingsync/booking.rb
bookingsync-0.2.0 lib/bookingsync/booking.rb
bookingsync-0.1.1 lib/bookingsync/booking.rb
bookingsync-0.1.0 lib/bookingsync/booking.rb