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