Under development
First, configure Impala to use your API key
Impala.configure do |config|
config.api_key = # Your secret API key here ...
end
You are now set up to interact with the Impalal web API. Start by creating a new hotel object.
hotel = Impala::Hotel.new(hotel_id)
Now, you can get and create guests, bookings and whatever Impala provides.
booking = hotel.booking(booking_id)
guests = booking.guests