Class: AdCenterService::HeaderHandler
- Inherits:
-
SOAP::Header::SimpleHandler
- Object
- SOAP::Header::SimpleHandler
- AdCenterService::HeaderHandler
- Defined in:
- lib/adcenter_service.rb
Instance Attribute Summary collapse
-
#element ⇒ Object
readonly
Returns the value of attribute element.
-
#value ⇒ Object
writeonly
Sets the attribute value.
Instance Method Summary collapse
-
#initialize(ns, element, value) ⇒ HeaderHandler
constructor
A new instance of HeaderHandler.
- #on_simple_outbound ⇒ Object
Constructor Details
#initialize(ns, element, value) ⇒ HeaderHandler
Returns a new instance of HeaderHandler.
64 65 66 67 68 |
# File 'lib/adcenter_service.rb', line 64 def initialize(ns, element, value) super(XSD::QName.new(ns, element)) @element = element @value = value end |
Instance Attribute Details
#element ⇒ Object (readonly)
Returns the value of attribute element.
62 63 64 |
# File 'lib/adcenter_service.rb', line 62 def element @element end |
#value=(value) ⇒ Object (writeonly)
Sets the attribute value
63 64 65 |
# File 'lib/adcenter_service.rb', line 63 def value=(value) @value = value end |
Instance Method Details
#on_simple_outbound ⇒ Object
69 70 71 |
# File 'lib/adcenter_service.rb', line 69 def on_simple_outbound @value end |