Class: SOAP::MIMEMessage::Header
Instance Attribute Summary collapse
- 
  
    
      #key  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute key.
 - 
  
    
      #root  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute root.
 - 
  
    
      #str  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute str.
 
Instance Method Summary collapse
- #[](key) ⇒ Object
 - #[]=(key, value) ⇒ Object
 - 
  
    
      #initialize  ⇒ Header 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Header.
 - #to_s ⇒ Object
 
Constructor Details
#initialize ⇒ Header
Returns a new instance of Header.
      28 29 30  | 
    
      # File 'lib/soap/mimemessage.rb', line 28 def initialize @attrs = {} end  | 
  
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key.
      26 27 28  | 
    
      # File 'lib/soap/mimemessage.rb', line 26 def key @key end  | 
  
#root ⇒ Object
Returns the value of attribute root.
      26 27 28  | 
    
      # File 'lib/soap/mimemessage.rb', line 26 def root @root end  | 
  
#str ⇒ Object
Returns the value of attribute str.
      26 27 28  | 
    
      # File 'lib/soap/mimemessage.rb', line 26 def str @str end  | 
  
Instance Method Details
#[](key) ⇒ Object
      32 33 34  | 
    
      # File 'lib/soap/mimemessage.rb', line 32 def [](key) @attrs[key] end  | 
  
#[]=(key, value) ⇒ Object
      36 37 38  | 
    
      # File 'lib/soap/mimemessage.rb', line 36 def []=(key, value) @attrs[key] = value end  | 
  
#to_s ⇒ Object
      40 41 42  | 
    
      # File 'lib/soap/mimemessage.rb', line 40 def to_s @key + ": " + @str end  |