Module: SOAP::Processor
- Defined in:
- lib/soap/processor.rb
Constant Summary collapse
- @@default_parser_option =
{}
Class Method Summary collapse
- .default_parser_option ⇒ Object
- .default_parser_option=(rhs) ⇒ Object
- .marshal(env, opt = {}, io = nil) ⇒ Object
- .unmarshal(stream, opt = {}) ⇒ Object
Class Method Details
.default_parser_option ⇒ Object
46 47 48 |
# File 'lib/soap/processor.rb', line 46 def default_parser_option @@default_parser_option end |
.default_parser_option=(rhs) ⇒ Object
42 43 44 |
# File 'lib/soap/processor.rb', line 42 def default_parser_option=(rhs) @@default_parser_option = rhs end |
.marshal(env, opt = {}, io = nil) ⇒ Object
28 29 30 31 32 33 34 35 |
# File 'lib/soap/processor.rb', line 28 def marshal(env, opt = {}, io = nil) generator = create_generator(opt) marshalled_str = generator.generate(env, io) unless env.external_content.empty? opt[:external_content] = env.external_content end marshalled_str end |
.unmarshal(stream, opt = {}) ⇒ Object
37 38 39 40 |
# File 'lib/soap/processor.rb', line 37 def unmarshal(stream, opt = {}) parser = create_parser(opt) parser.parse(stream) end |