class ConstantContact::Components::ContactList
Attributes
contact_count[RW]
id[RW]
name[RW]
status[RW]
Public Class Methods
create(props)
click to toggle source
Factory method to create a ContactList
object from a json string @param [Hash] props - properties to create object from @return [ContactList]
# File lib/constantcontact/components/contacts/contact_list.rb, line 15 def self.create(props) obj = ContactList.new if props props.each do |key, value| obj.send("#{key}=", value) if obj.respond_to? key end end obj end