Socket
Book a DemoInstallSign in
Socket

mad_mimi

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mad_mimi

0.0.3
bundlerRubygems
Version published
Maintainers
1
Created
Source

= The Mad Mimi Ruby Gem

A Ruby wrapper for the Mad Mimi API. Deliver emails and manage your Mad Mimi audience.

== Installation

gem install mad_mimi

== Documentation

http://rdoc.info/gems/mad_mimi

== Usage Examples

require "rubygems" require "mad_mimi"

Sets the Mad Mimi configuration options. Best used by passing a block.

MadMimi.configure do |config| config.username = "YourMadMimiEmailAddress" config.api_key = "YourMadMimiApiKey" end

Sending transactional email

MadMimi.mailer.mail({ :promotion_name => "Welcome", :recipients => "Ozéias Sant'Ana oz.santana@gmail.com" })

Performs an audience search and returns the up to the first 100 results.

MadMimi.audience.search

Get Audience Members

MadMimi.audience.members

Get all Audience Lists

MadMimi.audience.lists

Add Audience List Membership

MadMimi.audience.add_to_list('Clients', {:first_name => 'Ozéias', :last_name => 'Santana', :email => 'oz.santana@gmail.com'})

Remove Audience List Membership

MadMimi.audience.remove_from_list('Clients', 'oz.santana@gmail.com')

Suppress an Audience Member

MadMimi.audience.suppress('oz.santana@gmail.com')

== Contributing

In the spirit of {free software}[http://www.fsf.org/licensing/essays/free-sw.html], everyone is encouraged to help improve this project.

Here are some ways you can contribute:

  • by using alpha, beta, and prerelease versions
  • by reporting bugs
  • by suggesting new features
  • by writing or editing documentation
  • by writing specifications
  • by writing code (no patch is too small: fix typos, add comments, clean up inconsistent whitespace)
  • by refactoring {code}[https://github.com/ozeias/mad_mimi]
  • by closing {issues}[https://github.com/ozeias/mad_mimi/issues]
  • by reviewing patches

== Submitting an Issue

We use the {GitHub issue tracker}[https://github.com/ozeias/mad_mimi/issues] to track bugs and features. Before submitting a bug report or feature request, check to make sure it hasn't already been submitted. You can indicate support for an existing issuse by voting it up. When submitting a bug report, please include a {Gist}[http://gist.github.com/] that includes a stack trace and any details that may be necessary to reproduce the bug, including your gem version, Ruby version, and operating system. Ideally, a bug report should include a pull request with failing specs.

== Copyright

Copyright (c) 2011 Ozéias Sant'ana. See LICENSE.txt for further details.

FAQs

Package last updated on 12 Feb 2011

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.