Sha256: 4a7a2686d9448848e87904facf260cafb97f98b46b6144b70ba29d60f8b50cae

Contents?: true

Size: 389 Bytes

Versions: 2

Compression:

Stored size: 389 Bytes

Contents

module ActsAsIcontact
  class Contact < Resource
    
    # Email is required
    def self.required_on_create
      super << 'email'
    end
    
    # Derived from clientFolder
    def self.base
      ActsAsIcontact.client
    end
    
    # Defaults to status=total to return contacts on or off lists
    def self.default_options
      super.merge(:status=>:total)
    end
    
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
SFEley-acts_as_icontact-0.2.1 lib/acts_as_icontact/resources/contact.rb
acts_as_icontact-0.2.1 lib/acts_as_icontact/resources/contact.rb