mad_mimi 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +4 -4
- data/lib/mad_mimi.rb +1 -1
- data/lib/mad_mimi/mailer.rb +1 -1
- data/lib/mad_mimi/version.rb +1 -1
- data/mad_mimi.gemspec +1 -1
- metadata +5 -5
data/README.rdoc
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
= The
|
1
|
+
= The Mad Mimi Ruby Gem
|
2
2
|
|
3
|
-
A Ruby wrapper for the
|
3
|
+
A Ruby wrapper for the Mad Mimi API. Deliver emails and manage your Mad Mimi audience.
|
4
4
|
|
5
5
|
== Installation
|
6
6
|
|
@@ -15,7 +15,7 @@ A Ruby wrapper for the MadMimi API. Deliver emails and manage your MadMimi audie
|
|
15
15
|
require "rubygems"
|
16
16
|
require "mad_mimi"
|
17
17
|
|
18
|
-
# Sets the
|
18
|
+
# Sets the Mad Mimi configuration options. Best used by passing a block.
|
19
19
|
MadMimi.configure do |config|
|
20
20
|
config.username = "YourMadMimiEmailAddress"
|
21
21
|
config.api_key = "YourMadMimiApiKey"
|
@@ -54,7 +54,7 @@ Here are some ways you can contribute:
|
|
54
54
|
* by writing or editing documentation
|
55
55
|
* by writing specifications
|
56
56
|
* by writing code (no patch is too small: fix typos, add comments, clean up inconsistent whitespace)
|
57
|
-
* by refactoring code
|
57
|
+
* by refactoring {code}[https://github.com/ozeias/mad_mimi]
|
58
58
|
* by closing {issues}[https://github.com/ozeias/mad_mimi/issues]
|
59
59
|
* by reviewing patches
|
60
60
|
|
data/lib/mad_mimi.rb
CHANGED
data/lib/mad_mimi/mailer.rb
CHANGED
@@ -13,7 +13,7 @@ module MadMimi #:nodoc
|
|
13
13
|
# Sends a single transactional email to the recipient. Returns a unique transaction id if successful.
|
14
14
|
#
|
15
15
|
# == Required parameters are:
|
16
|
-
# * <tt>:promotion_name</tt> -- The name of the promotion Mimi will send. For +raw_html+ or +raw_plain_text+ promotions,
|
16
|
+
# * <tt>:promotion_name</tt> -- The name of the promotion Mimi will send. For +raw_html+ or +raw_plain_text+ promotions, Mad Mimi will automatically create or update the promotion in your account.
|
17
17
|
# * <tt>:recipients</tt> -- The recipient (singular although the parameter name is plural) again just the email or in +Display Name <email@domain.com>+ format.
|
18
18
|
# * <tt>:body</tt> -- Required if you have placeholders. YAML encoded replacements for any {placeholders} in your promotion.
|
19
19
|
#
|
data/lib/mad_mimi/version.rb
CHANGED
data/mad_mimi.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.email = 'oz.santana@gmail.com'
|
12
12
|
s.homepage = 'http://railsbox.org'
|
13
13
|
|
14
|
-
s.summary = %q{
|
14
|
+
s.summary = %q{A Ruby wrapper for the Mad Mimi API. Deliver emails and manage your Mad Mimi audience}
|
15
15
|
|
16
16
|
s.required_rubygems_version = Gem::Requirement.new('>= 1.3.6') if s.respond_to? :required_rubygems_version=
|
17
17
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mad_mimi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- "Oz\xC3\xA9ias Sant'ana"
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-02-
|
18
|
+
date: 2011-02-12 00:00:00 -02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -164,7 +164,7 @@ rubyforge_project:
|
|
164
164
|
rubygems_version: 1.4.2
|
165
165
|
signing_key:
|
166
166
|
specification_version: 3
|
167
|
-
summary:
|
167
|
+
summary: A Ruby wrapper for the Mad Mimi API. Deliver emails and manage your Mad Mimi audience
|
168
168
|
test_files:
|
169
169
|
- spec/fixtures/audience_lists.xml
|
170
170
|
- spec/fixtures/audience_members.xml
|