Sha256: ad690681b8d596a78210e5c294bb965ddd31a5f2ec8233d1dfb0c8edc4f7f481
Contents?: true
Size: 708 Bytes
Versions: 1
Compression:
Stored size: 708 Bytes
Contents
require 'tourico/version' require 'tourico/api' require 'tourico/http_service' module Tourico class << self attr_accessor :login_name, :password, :culture, :hotels_service_version, :reservations_service_version, :location_service_version,:hotel_service_link,:reservation_service_link,:sandbox # initializer with all the configuration values def setup self.sandbox = true self.hotel_service_link = 'http://demo-hotelws.touricoholidays.com/HotelFlow.svc?wsdl' self.reservation_service_link = 'http://demo-wsnew.touricoholidays.com/reservationsservice.asmx?wsdl' yield self Savon.configure do|config| config.log_level = :error end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tourico-0.0.5 | lib/tourico.rb |