Sha256: 1c75a8d05e1a2df74b7dfb623721413629e1bf65684576d14012c3e0683e3bec
Contents?: true
Size: 701 Bytes
Versions: 1
Compression:
Stored size: 701 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 = false end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tourico-0.0.6 | lib/tourico.rb |