Class: HotelBeds::HotelSearch::Envelope

Inherits:
Action::Envelope show all
Defined in:
lib/hotel_beds/hotel_search/envelope.rb

Instance Method Summary collapse

Instance Method Details

#attributesObject



7
8
9
10
11
12
13
14
15
16
# File 'lib/hotel_beds/hotel_search/envelope.rb', line 7

def attributes
  {
    :@sessionId => session_id,
    :PaginationData => pagination_data,
    :Language => language,
    :CheckInDate => check_in_date,
    :CheckOutDate => check_out_date,
    :OccupancyList => occupancy_list
  }.merge(Hash(destination)).merge(Hash(hotels)).merge(Hash(extra_params))
end