Sha256: 7823ad597e4543114b92f83f896c05aa6847d99cb197e626d8b34e922537d422

Contents?: true

Size: 175 Bytes

Versions: 4

Compression:

Stored size: 175 Bytes

Contents

module BookingSync
  class Rental < Base
    include Pagination

    def bookings
      Booking.find_all_across_pages(:from => "/rentals/#{id}/bookings.xml")
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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