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
47 48 49 |
# File 'lib/soap/processor.rb', line 47 def default_parser_option @@default_parser_option end |
.default_parser_option=(rhs) ⇒ Object
43 44 45 |
# File 'lib/soap/processor.rb', line 43 def default_parser_option=(rhs) @@default_parser_option = rhs end |
.marshal(env, opt = {}, io = nil) ⇒ Object
29 30 31 32 33 34 35 36 |
# File 'lib/soap/processor.rb', line 29 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
38 39 40 41 |
# File 'lib/soap/processor.rb', line 38 def unmarshal(stream, opt = {}) parser = create_parser(opt) parser.parse(stream) end |