Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rorykoehler authored Jan 16, 2024
1 parent 9752ab9 commit b20fe13
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ After installing your gem, it can be used in a Rails application as follows:
```
Of course the api keys should be stored in the Rails encrypted credentials as is best practice.
2. **Sending an Email**
### **Sending an Email**
2.1 **In Rails With ActionMailer**
2. **In Rails With ActionMailer**
Use as normal as per the Rails ActionMailer docs. E.G.
Expand All @@ -34,7 +34,7 @@ Of course the api keys should be stored in the Rails encrypted credentials as is
**See Rails configuration and more detailed example below**
2.2 **Plain Ruby Without Rails**
3. **Plain Ruby Without Rails**
```
Mailerooby::EmailSender.send_email(
Expand All @@ -44,7 +44,8 @@ Of course the api keys should be stored in the Rails encrypted credentials as is
body: "This is a test email."
)
```
3. **Verifying an Email Address**
4. **Verifying an Email Address**
```ruby
response = Mailerooby::EmailVerifier.verify_email("test@example")
Expand Down

0 comments on commit b20fe13

Please sign in to comment.