Class: SigepWeb::WebServiceInterfaceApi
- Inherits:
-
Object
- Object
- SigepWeb::WebServiceInterfaceApi
- Defined in:
- lib/sigep_web/web_service_interface_api.rb
Direct Known Subclasses
GenerateLabelsDigitVerifier, PostageCardStatus, RequestLabels, RequestPlpServices, RequestXmlPlp, SearchClient, ServiceAvailability, ZipQuery
Instance Method Summary collapse
-
#initialize ⇒ WebServiceInterfaceApi
constructor
A new instance of WebServiceInterfaceApi.
- #process(method, message) ⇒ Object
Constructor Details
#initialize ⇒ WebServiceInterfaceApi
Returns a new instance of WebServiceInterfaceApi.
3 4 5 6 7 8 |
# File 'lib/sigep_web/web_service_interface_api.rb', line 3 def initialize @client = Savon.client({ wsdl: url, ssl_verify_mode: :none }) end |
Instance Method Details
#process(method, message) ⇒ Object
10 11 12 |
# File 'lib/sigep_web/web_service_interface_api.rb', line 10 def process(method, ) @client.call(method, soap_action: "", message: ) end |