Permalink
Browse files

Update README.rdoc

  • Loading branch information...
1 parent 5ee0c57 commit bfbff55500e282bb85460ceec747416aa1894d06 @maximgladkov maximgladkov committed May 16, 2014
Showing with 5 additions and 0 deletions.
  1. +5 −0 README.rdoc
View
@@ -33,6 +33,11 @@ You can pass +raise_exceptions+ to the initializer, if you wish to receive excep
mimi.csv_import("name,email\ndave,dave@example.com\n") # import from a csv string
mimi.add_to_list('dave@example.com', 'Test List') # add this email address to a specific list
+ mimi.add_to_list('dave@example.com', 'Test List', {
+ :first_name => 'Dave',
+ :last_name => 'Example',
+ :custom_field => 'Custom value'
+ }) # add additional data with this email
mimi.remove_from_list('dave@example.com', 'Test List') # remove this email address from a specific list

0 comments on commit bfbff55

Please sign in to comment.