Changeset 1585
- Timestamp:
- 07/21/05 23:15:41 (3 years ago)
- Files:
-
- trunk/lib/soap/header/simplehandler.rb (modified) (2 diffs)
- trunk/test/soap/header/test_simplehandler.rb (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/soap/header/simplehandler.rb
r1520 r1585 20 20 end 21 21 22 # Should return a Hash or nil.22 # Should return a Hash, String or nil. 23 23 def on_simple_outbound 24 24 nil 25 25 end 26 26 27 # Given header is a Hash or nil.27 # Given header is a Hash, String or nil. 28 28 def on_simple_inbound(header, mustunderstand) 29 29 end … … 35 35 36 36 def on_inbound(header, mustunderstand) 37 h = header. to_obj37 h = header.respond_to?(:to_obj) ? header.to_obj : header.data 38 38 on_simple_inbound(h, mustunderstand) 39 39 end