Class: AdCenterService::HeaderHandler

Inherits:
SOAP::Header::SimpleHandler
  • Object
show all
Defined in:
lib/adcenter_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ns, element, value) ⇒ HeaderHandler

Returns a new instance of HeaderHandler.


78
79
80
81
82
# File 'lib/adcenter_service.rb', line 78

def initialize(ns, element, value)
  super(XSD::QName.new(ns, element))
  @element = element
  @value = value
end

Instance Attribute Details

#elementObject (readonly)

Returns the value of attribute element.


76
77
78
# File 'lib/adcenter_service.rb', line 76

def element
  @element
end

#value=(value) ⇒ Object (writeonly)

Sets the attribute value

Parameters:

  • value

    the value to set the attribute value to.


77
78
79
# File 'lib/adcenter_service.rb', line 77

def value=(value)
  @value = value
end

Instance Method Details

#on_simple_outboundObject


83
84
85
# File 'lib/adcenter_service.rb', line 83

def on_simple_outbound
  @value
end