Sha256: 4a2aa1815b6d1d68974416d259deab6c09669d3e577f0cc088634606e4fe355d
Contents?: true
Size: 606 Bytes
Versions: 1
Compression:
Stored size: 606 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
eps-rapid-1.0.0 | lib/eps-rapid/manage_booking.rb |