Class: Telesign::API::TelesignAPISoap

Inherits:
SOAP::RPC::Driver
  • Object
show all
Defined in:
lib/telesign/api/defaultDriver.rb

Constant Summary collapse

DefaultEndpointUrl =
"https://api.telesign.com/1.x/soap.asmx"
Methods =
[
  [ "https://www.telesign.com/api/RequestAPIversion",
    "requestAPIversion",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "https://www.telesign.com/api/", "RequestAPIversion"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "https://www.telesign.com/api/", "RequestAPIversionResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "https://www.telesign.com/api/RequestSMS",
    "requestSMS",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "https://www.telesign.com/api/", "RequestSMS"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "https://www.telesign.com/api/", "RequestSMSResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "https://www.telesign.com/api/RequestPhoneID",
    "requestPhoneID",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "https://www.telesign.com/api/", "RequestPhoneID"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "https://www.telesign.com/api/", "RequestPhoneIDResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "https://www.telesign.com/api/RequestSTATUS",
    "requestSTATUS",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "https://www.telesign.com/api/", "RequestSTATUS"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "https://www.telesign.com/api/", "RequestSTATUSResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "https://www.telesign.com/api/RequestCALL",
    "requestCALL",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "https://www.telesign.com/api/", "RequestCALL"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "https://www.telesign.com/api/", "RequestCALLResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "https://www.telesign.com/api/RequestPhoneIDPlatinum",
    "requestPhoneIDPlatinum",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "https://www.telesign.com/api/", "RequestPhoneIDPlatinum"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "https://www.telesign.com/api/", "RequestPhoneIDPlatinumResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "https://www.telesign.com/api/RequestInformationQualityScore",
    "requestInformationQualityScore",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "https://www.telesign.com/api/", "RequestInformationQualityScore"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "https://www.telesign.com/api/", "RequestInformationQualityScoreResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "https://www.telesign.com/api/RequestFraudAnalyzer",
    "requestFraudAnalyzer",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "https://www.telesign.com/api/", "RequestFraudAnalyzer"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "https://www.telesign.com/api/", "RequestFraudAnalyzerResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ]
]

Instance Method Summary collapse

Constructor Details

#initialize(endpoint_url = nil) ⇒ TelesignAPISoap

Returns a new instance of TelesignAPISoap.



75
76
77
78
79
80
81
# File 'lib/telesign/api/defaultDriver.rb', line 75

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