Class: PagoPA::SOAP::WSDLLoader
- Inherits:
-
Object
- Object
- PagoPA::SOAP::WSDLLoader
- Defined in:
- lib/pago_pa/soap/wsdl_loader.rb
Instance Attribute Summary collapse
-
#namespace ⇒ Object
readonly
Returns the value of attribute namespace.
-
#wsdl_base ⇒ Object
readonly
Returns the value of attribute wsdl_base.
-
#wsdl_notify ⇒ Object
readonly
Returns the value of attribute wsdl_notify.
Instance Method Summary collapse
- #build ⇒ Object
- #clients ⇒ Object
-
#initialize(options = {}) ⇒ WSDLLoader
constructor
A new instance of WSDLLoader.
- #requests ⇒ Object
- #responses ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ WSDLLoader
Returns a new instance of WSDLLoader.
11 12 13 14 15 16 17 18 |
# File 'lib/pago_pa/soap/wsdl_loader.rb', line 11 def initialize( = {}) @wsdl_base = [:wsdl_base] || PagoPA::SOAP.config.wsdl_base @wsdl_notify = [:wsdl_notify] || PagoPA::SOAP.config.wsdl_notify @namespace = [:namespace] || PagoPA::SOAP.config.namespace validate_wsdl_base! validate_wsdl_notify! end |
Instance Attribute Details
#namespace ⇒ Object (readonly)
Returns the value of attribute namespace.
9 10 11 |
# File 'lib/pago_pa/soap/wsdl_loader.rb', line 9 def namespace @namespace end |
#wsdl_base ⇒ Object (readonly)
Returns the value of attribute wsdl_base.
7 8 9 |
# File 'lib/pago_pa/soap/wsdl_loader.rb', line 7 def wsdl_base @wsdl_base end |
#wsdl_notify ⇒ Object (readonly)
Returns the value of attribute wsdl_notify.
8 9 10 |
# File 'lib/pago_pa/soap/wsdl_loader.rb', line 8 def wsdl_notify @wsdl_notify end |
Instance Method Details
#build ⇒ Object
20 21 22 23 |
# File 'lib/pago_pa/soap/wsdl_loader.rb', line 20 def build soap_base.build soap_notify.build end |
#clients ⇒ Object
29 30 31 |
# File 'lib/pago_pa/soap/wsdl_loader.rb', line 29 def clients soap_base.client + soap_notify.client end |
#requests ⇒ Object
25 26 27 |
# File 'lib/pago_pa/soap/wsdl_loader.rb', line 25 def requests soap_base.request + soap_notify.request end |
#responses ⇒ Object
33 34 35 |
# File 'lib/pago_pa/soap/wsdl_loader.rb', line 33 def responses soap_base.response + soap_notify.response end |