Class: LiveJournal::Sync::CommentsXML::Base
- Inherits:
- 
      Object
      
        - Object
- LiveJournal::Sync::CommentsXML::Base
 
- Defined in:
- lib/livejournal/comments-xml.rb
Instance Attribute Summary collapse
- 
  
    
      #comments  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute comments. 
- 
  
    
      #maxid  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute maxid. 
- 
  
    
      #usermap  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute usermap. 
Instance Method Summary collapse
- 
  
    
      #initialize(data = nil)  ⇒ Base 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Base. 
Constructor Details
#initialize(data = nil) ⇒ Base
Returns a new instance of Base.
| 58 59 60 61 62 63 | # File 'lib/livejournal/comments-xml.rb', line 58 def initialize(data=nil) @maxid = nil @comments = {} @usermap = {} parse data if data end | 
Instance Attribute Details
#comments ⇒ Object (readonly)
Returns the value of attribute comments.
| 57 58 59 | # File 'lib/livejournal/comments-xml.rb', line 57 def comments @comments end | 
#maxid ⇒ Object (readonly)
Returns the value of attribute maxid.
| 57 58 59 | # File 'lib/livejournal/comments-xml.rb', line 57 def maxid @maxid end | 
#usermap ⇒ Object (readonly)
Returns the value of attribute usermap.
| 57 58 59 | # File 'lib/livejournal/comments-xml.rb', line 57 def usermap @usermap end |