Class: WSDL::SOAP::Body
Instance Attribute Summary collapse
- 
  
    
      #encodingstyle  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute encodingstyle. 
- 
  
    
      #namespace  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute namespace. 
- 
  
    
      #parts  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute parts. 
- 
  
    
      #use  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    required. 
Attributes inherited from Info
Instance Method Summary collapse
- 
  
    
      #initialize  ⇒ Body 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Body. 
- #parse_attr(attr, value) ⇒ Object
- #parse_element(element) ⇒ Object
Methods inherited from Info
Constructor Details
#initialize ⇒ Body
Returns a new instance of Body.
| 22 23 24 25 26 27 28 | # File 'lib/wsdl/soap/body.rb', line 22 def initialize super @parts = nil @use = nil @encodingstyle = nil @namespace = nil end | 
Instance Attribute Details
#encodingstyle ⇒ Object (readonly)
Returns the value of attribute encodingstyle.
| 19 20 21 | # File 'lib/wsdl/soap/body.rb', line 19 def encodingstyle @encodingstyle end | 
#namespace ⇒ Object (readonly)
Returns the value of attribute namespace.
| 20 21 22 | # File 'lib/wsdl/soap/body.rb', line 20 def namespace @namespace end | 
#parts ⇒ Object (readonly)
Returns the value of attribute parts.
| 17 18 19 | # File 'lib/wsdl/soap/body.rb', line 17 def parts @parts end | 
#use ⇒ Object (readonly)
required
| 18 19 20 | # File 'lib/wsdl/soap/body.rb', line 18 def use @use end | 
Instance Method Details
#parse_attr(attr, value) ⇒ Object
| 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | # File 'lib/wsdl/soap/body.rb', line 34 def parse_attr(attr, value) case attr when PartsAttrName @parts = value.source when UseAttrName if ['literal', 'encoded'].include?(value.source) @use = value.source.intern else raise RuntimeError.new("unknown use of soap:body: #{value.source}") end when EncodingStyleAttrName @encodingstyle = value.source when NamespaceAttrName @namespace = value.source else nil end end | 
#parse_element(element) ⇒ Object
| 30 31 32 | # File 'lib/wsdl/soap/body.rb', line 30 def parse_element(element) nil end |