Sha256: e3becab19561e98b272c3d6e773352d6ea40c097b63e1461be8d65a42a48e717

Contents?: true

Size: 386 Bytes

Versions: 1

Compression:

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

1 entries across 1 versions & 1 rubygems

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