emailfuse 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -12
- data/lib/emailfuse/version.rb +1 -1
- data/lib/emailfuse.rb +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9cbf4602cc744b6975dae3b8270edcf971935bb89d754d26d001f759ce22cf50
|
4
|
+
data.tar.gz: 6afb324f38ccef286802240b61e0b4bfc474a113fddcfafbdd2fda6852162119
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c63d05761c93746539005398cc1708a2206f9998d858ed8aef62b7d914bbfdb657960087c315f92fb3abdb96018d1ae5294ce40c199c81aaf6350d31d63feddd
|
7
|
+
data.tar.gz: 89a27c562f6195577b7942782462ff2fd294ff830e064714f6387c056a3e54ac3920b41fc5834f816b95cdbcffdba672b92466ed6fbe341eab3f750eb9323e05
|
data/README.md
CHANGED
@@ -1,26 +1,22 @@
|
|
1
|
-
#
|
1
|
+
# Emailfuse Gem
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
It is a heavily modified version of the [mailgun_rails](https://github.com/jorgemanrubia/mailgun_rails) gem
|
3
|
+
An API wrapper for Emailfuse, including a Rails Action Mailer adapter.
|
6
4
|
|
7
5
|
## Installing
|
8
6
|
|
9
7
|
In your `Gemfile`
|
10
8
|
|
11
9
|
```ruby
|
12
|
-
gem "
|
10
|
+
gem "emailfuse"
|
13
11
|
```
|
14
12
|
|
15
13
|
## Usage
|
16
14
|
|
17
|
-
|
15
|
+
Create an initializer file in `config/initializers/emailfuse.rb` with the following:
|
18
16
|
|
19
17
|
```ruby
|
20
|
-
config.action_mailer.delivery_method = :
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
ssl: true
|
25
|
-
}
|
18
|
+
config.action_mailer.delivery_method = :emailfuse
|
19
|
+
Emailfuse.configure do |config|
|
20
|
+
config.token = ENV["EMAILFUSE_TOKEN"]
|
21
|
+
end
|
26
22
|
```
|
data/lib/emailfuse/version.rb
CHANGED
data/lib/emailfuse.rb
CHANGED