Class: Mailee::Quick

Inherits:
Config
  • Object
show all
Defined in:
lib/mailee/active_resource.rb

Overview

The Quick class allows you to import contacts to mailee just like in the interface

USAGE:

# Emails only
Mailee::Quick.import("[email protected] [email protected]")

# Names and emails (needs line breaks)
Mailee::Quick.import("[email protected], Wittgenstein\[email protected], Rorty")

# Signatures (gmail style)
Mailee::Quick.import('"Wittgenstein" <[email protected]>,
                      "Rorty" <[email protected]>')

Class Method Summary collapse

Class Method Details

.import(contacts) ⇒ Object



90
91
92
# File 'lib/mailee/active_resource.rb', line 90

def self.import contacts
  create :contacts => contacts
end