Class: ConstantContact::Components::TrackingSummary
- Defined in:
- lib/constantcontact/components/tracking/tracking_summary.rb
Instance Attribute Summary collapse
- 
  
    
      #bounces  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute bounces. 
- 
  
    
      #clicks  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute clicks. 
- 
  
    
      #forwards  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute forwards. 
- 
  
    
      #opens  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute opens. 
- 
  
    
      #sends  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute sends. 
- 
  
    
      #spam_count  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute spam_count. 
- 
  
    
      #unsubscribes  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute unsubscribes. 
Class Method Summary collapse
- 
  
    
      .create(props)  ⇒ TrackingSummary 
    
    
  
  
  
  
  
  
  
  
  
    Factory method to create a TrackingSummary object from an array. 
Methods inherited from Component
#to_hash, to_hash_value, #to_json
Instance Attribute Details
#bounces ⇒ Object
Returns the value of attribute bounces
| 10 11 12 | # File 'lib/constantcontact/components/tracking/tracking_summary.rb', line 10 def bounces @bounces end | 
#clicks ⇒ Object
Returns the value of attribute clicks
| 10 11 12 | # File 'lib/constantcontact/components/tracking/tracking_summary.rb', line 10 def clicks @clicks end | 
#forwards ⇒ Object
Returns the value of attribute forwards
| 10 11 12 | # File 'lib/constantcontact/components/tracking/tracking_summary.rb', line 10 def forwards @forwards end | 
#opens ⇒ Object
Returns the value of attribute opens
| 10 11 12 | # File 'lib/constantcontact/components/tracking/tracking_summary.rb', line 10 def opens @opens end | 
#sends ⇒ Object
Returns the value of attribute sends
| 10 11 12 | # File 'lib/constantcontact/components/tracking/tracking_summary.rb', line 10 def sends @sends end | 
#spam_count ⇒ Object
Returns the value of attribute spam_count
| 10 11 12 | # File 'lib/constantcontact/components/tracking/tracking_summary.rb', line 10 def spam_count @spam_count end | 
#unsubscribes ⇒ Object
Returns the value of attribute unsubscribes
| 10 11 12 | # File 'lib/constantcontact/components/tracking/tracking_summary.rb', line 10 def unsubscribes @unsubscribes end | 
Class Method Details
.create(props) ⇒ TrackingSummary
Factory method to create a TrackingSummary object from an array
| 16 17 18 19 20 21 22 23 24 | # File 'lib/constantcontact/components/tracking/tracking_summary.rb', line 16 def self.create(props) obj = TrackingSummary.new if props props.each do |key, value| obj.send("#{key}=", value) if obj.respond_to? key end end obj end |