Class: ChargeBee::ListResult
- Inherits:
 - 
      Object
      
        
- Object
 - ChargeBee::ListResult
 
 
- Extended by:
 - Forwardable
 
- Includes:
 - Enumerable
 
- Defined in:
 - lib/chargebee/list_result.rb
 
Instance Attribute Summary collapse
- 
  
    
      #next_offset  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute next_offset.
 
Instance Method Summary collapse
- #get_response_headers ⇒ Object
 - 
  
    
      #initialize(response, next_offset = nil, rheaders = nil)  ⇒ ListResult 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ListResult.
 
Constructor Details
#initialize(response, next_offset = nil, rheaders = nil) ⇒ ListResult
Returns a new instance of ListResult.
      13 14 15 16 17 18 19  | 
    
      # File 'lib/chargebee/list_result.rb', line 13 def initialize(response, next_offset=nil, rheaders = nil) @response = response @rheaders = rheaders @list = Array.new @next_offset = JSON.parse(next_offset).to_s if next_offset initItems() end  | 
  
Instance Attribute Details
#next_offset ⇒ Object (readonly)
Returns the value of attribute next_offset.
      11 12 13  | 
    
      # File 'lib/chargebee/list_result.rb', line 11 def next_offset @next_offset end  | 
  
Instance Method Details
#get_response_headers ⇒ Object
      21 22 23  | 
    
      # File 'lib/chargebee/list_result.rb', line 21 def get_response_headers() @rheaders end  |