Class: ConstantContact::Components::MoveResults
- Defined in:
- lib/constantcontact/components/library/info/move_results.rb
Instance Attribute Summary collapse
- 
  
    
      #id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute id. 
- 
  
    
      #uri  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute uri. 
Class Method Summary collapse
- 
  
    
      .create(props)  ⇒ MoveResults 
    
    
  
  
  
  
  
  
  
  
  
    Factory method to create a MoveResults object from a json string. 
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/library/info/move_results.rb', line 10 def id @id end | 
#uri ⇒ Object
Returns the value of attribute uri
| 10 11 12 | # File 'lib/constantcontact/components/library/info/move_results.rb', line 10 def uri @uri end | 
Class Method Details
.create(props) ⇒ MoveResults
Factory method to create a MoveResults object from a json string
| 15 16 17 18 19 20 21 22 23 | # File 'lib/constantcontact/components/library/info/move_results.rb', line 15 def self.create(props) obj = MoveResults.new if props props.each do |key, value| obj.send("#{key}=", value) if obj.respond_to?("#{key}=") end end obj end |