Class: ConstantContact::Components::LibrarySummary
- Defined in:
- lib/constantcontact/components/library/info/library_summary.rb
Instance Attribute Summary collapse
- 
  
    
      #image_root  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute image_root. 
- 
  
    
      #max_free_file_num  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute max_free_file_num. 
- 
  
    
      #max_premium_space_limit  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute max_premium_space_limit. 
- 
  
    
      #max_upload_size_limit  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute max_upload_size_limit. 
- 
  
    
      #usage_summary  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute usage_summary. 
Class Method Summary collapse
- 
  
    
      .create(props)  ⇒ LibrarySummary 
    
    
  
  
  
  
  
  
  
  
  
    Factory method to create a LibrarySummary object from a json string. 
Methods inherited from Component
#to_hash, to_hash_value, #to_json
Instance Attribute Details
#image_root ⇒ Object
Returns the value of attribute image_root
| 10 11 12 | # File 'lib/constantcontact/components/library/info/library_summary.rb', line 10 def image_root @image_root end | 
#max_free_file_num ⇒ Object
Returns the value of attribute max_free_file_num
| 10 11 12 | # File 'lib/constantcontact/components/library/info/library_summary.rb', line 10 def max_free_file_num @max_free_file_num end | 
#max_premium_space_limit ⇒ Object
Returns the value of attribute max_premium_space_limit
| 10 11 12 | # File 'lib/constantcontact/components/library/info/library_summary.rb', line 10 def max_premium_space_limit @max_premium_space_limit end | 
#max_upload_size_limit ⇒ Object
Returns the value of attribute max_upload_size_limit
| 10 11 12 | # File 'lib/constantcontact/components/library/info/library_summary.rb', line 10 def max_upload_size_limit @max_upload_size_limit end | 
#usage_summary ⇒ Object
Returns the value of attribute usage_summary
| 10 11 12 | # File 'lib/constantcontact/components/library/info/library_summary.rb', line 10 def usage_summary @usage_summary end | 
Class Method Details
.create(props) ⇒ LibrarySummary
Factory method to create a LibrarySummary object from a json string
| 15 16 17 18 19 20 21 22 23 | # File 'lib/constantcontact/components/library/info/library_summary.rb', line 15 def self.create(props) obj = LibrarySummary.new if props props.each do |key, value| obj.send("#{key}=", value) if obj.respond_to?("#{key}=") end end obj end |