Class: BookingstudioRuby::WebService::IBookingServiceV1

Inherits:
SOAP::RPC::Driver
  • Object
show all
Defined in:
lib/bookingstudio_ruby/web_service/booking_service_driver.rb

Constant Summary collapse

DefaultEndpointUrl =
"http://api.bookingstudio.dk/BookingService.svc"
Methods =
[
  [ "http://bookingstudio.dk/public/servicecontracts/2008/06/IBookingServiceV1/MakeBooking",
    "makeBooking",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://bookingstudio.dk/public/servicecontracts/2008/06/", "MakeBooking"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://bookingstudio.dk/public/servicecontracts/2008/06/", "MakeBookingResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "http://bookingstudio.dk/public/servicecontracts/2008/06/IBookingServiceV1/GetTermsAndConditions",
    "getTermsAndConditions",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://bookingstudio.dk/public/servicecontracts/2008/06/", "GetTermsAndConditions"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://bookingstudio.dk/public/servicecontracts/2008/06/", "GetTermsAndConditionsResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "http://bookingstudio.dk/public/servicecontracts/2008/06/IBookingServiceV1/GetItems",
    "getItems",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://bookingstudio.dk/public/servicecontracts/2008/06/", "GetItems"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://bookingstudio.dk/public/servicecontracts/2008/06/", "GetItemsResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "http://bookingstudio.dk/public/servicecontracts/2008/06/IBookingServiceV1/GetEuropaeiskeItemPrice",
    "getEuropaeiskeItemPrice",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://bookingstudio.dk/public/servicecontracts/2008/06/", "GetEuropaeiskeItemPrice"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://bookingstudio.dk/public/servicecontracts/2008/06/", "GetEuropaeiskeItemPriceResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ]
]

Instance Method Summary collapse

Constructor Details

#initialize(endpoint_url = nil) ⇒ IBookingServiceV1

Returns a new instance of IBookingServiceV1.



45
46
47
48
49
50
51
# File 'lib/bookingstudio_ruby/web_service/booking_service_driver.rb', line 45

def initialize(endpoint_url = nil)
  endpoint_url ||= DefaultEndpointUrl
  super(endpoint_url, nil)
  self.mapping_registry = BookingServiceMappingRegistry::EncodedRegistry
  self.literal_mapping_registry = BookingServiceMappingRegistry::LiteralRegistry
  init_methods
end