class SOAP::Mapping::AttachmentFactory

Public Instance Methods

obj2soap(soap_class, obj, info, map) click to toggle source
# File lib/soap/attachment.rb, line 91
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) click to toggle source
# File lib/soap/attachment.rb, line 97
def soap2obj(obj_class, node, info, map)
  obj = node.data
  mark_unmarshalled_obj(node, obj)
  return true, obj
end