Module: Trackerific::SOAP::WSDL

Defined in:
lib/trackerific/soap/wsdl.rb

Constant Summary collapse

ROOT =
File.expand_path("../../../../vendor/wsdl", __FILE__)

Class Method Summary collapse

Class Method Details

.path(name) ⇒ Object



4
5
6
7
8
9
10
11
12
# File 'lib/trackerific/soap/wsdl.rb', line 4

def self.path(name)
  path = File.join(ROOT, "#{name}.wsdl")

  unless File.exists?(path)
    raise IOError, "WSDL not found #{name}", caller
  end

  path
end