Sha256: d64dd5b9307e3091708903f175e6d2a873819ed8aaf4b331e2c552f3972dcf30
Contents?: true
Size: 596 Bytes
Versions: 9
Compression:
Stored size: 596 Bytes
Contents
# frozen_string_literal: true module EpsRapid class ManageBooking def self.retrieve_bookings(params) EpsRapid::Client.get('itineraries', params) end def self.retrieve_booking(itinerary_id, params) EpsRapid::Client.get("itineraries/#{itinerary_id}", params) end def self.cancel_held_booking(path, params) EpsRapid::Client.delete(path, params) end def self.cancel_room(path, params) EpsRapid::Client.delete(path, params) end def self.change_room(path, body, params) EpsRapid::Client.put(path, body, params) end end end
Version data entries
9 entries across 9 versions & 1 rubygems