Class: SOAP::Header::HandlerSet
- Inherits:
-
Object
- Object
- SOAP::Header::HandlerSet
- Defined in:
- lib/wss4r/soap/processor.rb
Instance Method Summary collapse
Instance Method Details
#on_inbound(headers) ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/wss4r/soap/processor.rb', line 11 def on_inbound(headers) headers.each do |name, item| handler = @store.find { |handler| handler.elename == item.element.elename } if handler handler.on_inbound_headeritem(item) elsif item.mustunderstand #raise UnhandledMustUnderstandHeaderError.new(item.element.elename.to_s) end end end |