Class: SOAP::Mapping::AttachmentFactory
- Defined in:
- lib/action_web_service/soap/attachment.rb
Instance Method Summary collapse
Methods inherited from Factory
#initialize, #setiv2obj, #setiv2soap
Methods included from TraverseSupport
#mark_marshalled_obj, #mark_unmarshalled_obj
Constructor Details
This class inherits a constructor from SOAP::Mapping::Factory
Instance Method Details
#obj2soap(soap_class, obj, info, map) ⇒ Object
89 90 91 92 93 |
# File 'lib/action_web_service/soap/attachment.rb', line 89 def obj2soap(soap_class, obj, info, map) soap_obj = soap_class.new(obj) mark_marshalled_obj(obj, soap_obj) soap_obj end |
#soap2obj(obj_class, node, info, map) ⇒ Object
95 96 97 98 99 |
# File 'lib/action_web_service/soap/attachment.rb', line 95 def soap2obj(obj_class, node, info, map) obj = node.data mark_unmarshalled_obj(node, obj) return true, obj end |