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.



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

#elementObject (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

Parameters:

  • value

    the value to set the attribute value to.



63
64
65
# File 'lib/adcenter_service.rb', line 63

def value=(value)
  @value = value
end

Instance Method Details

#on_simple_outboundObject



69
70
71
# File 'lib/adcenter_service.rb', line 69

def on_simple_outbound
  @value
end