Class: Elong::API::GHotel::Core

Inherits:
Base
  • Object
show all
Defined in:
lib/elong/api/ghotel/core.rb

Overview

Elong Global Hotel Core API Class

Instance Method Summary collapse

Methods inherited from Base

#buildAPI, #initialize, #request

Constructor Details

This class inherits a constructor from Elong::API::Base

Instance Method Details

#orderElong::API::GHotel::Order

The Global Hotel Order section



17
18
19
# File 'lib/elong/api/ghotel/core.rb', line 17

def order
  @order ||= Elong::API::GHotel::Order.new(@client)
end

#searchElong::API::GHotel::Search

The Global Hotel Search section



10
11
12
# File 'lib/elong/api/ghotel/core.rb', line 10

def search
  @search ||= Elong::API::GHotel::Search.new(@client)
end