Sha256: 774cdefdf619102c6eb9a80d0028ab227b5571c07ae78d647a1d3b121fff0eb2

Contents?: true

Size: 391 Bytes

Versions: 4

Compression:

Stored size: 391 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

4 entries across 4 versions & 2 rubygems

Version Path
SFEley-acts_as_icontact-0.1.5 lib/acts_as_icontact/resources/contact.rb
SFEley-acts_as_icontact-0.2.0 lib/acts_as_icontact/resources/contact.rb
acts_as_icontact-0.1.5 lib/acts_as_icontact/resources/contact.rb
acts_as_icontact-0.2.0 lib/acts_as_icontact/resources/contact.rb