Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Artheanos committed Mar 27, 2024
1 parent 6a41adc commit fad767c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .rubocop.yml
Expand Up @@ -35,3 +35,7 @@ Style/StringLiteralsInInterpolation:
Style/FrozenStringLiteralComment:
Exclude:
- 'examples/**/*'

Style/TrailingCommaInHashLiteral:
Exclude:
- 'examples/**/*'
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -70,7 +70,7 @@ configuration example.

Change `Mailtrap::Sending::Client` to `Mailtrap::Client`.

If you use classes which have `Sending` namespace, change them as well.
If you use classes which have `Sending` namespace, remove the namespace like in the example above.

## Development

Expand Down
2 changes: 1 addition & 1 deletion examples/full.rb
Expand Up @@ -42,7 +42,7 @@
# Bulk sending (@see https://help.mailtrap.io/article/113-sending-streams)
# client = Mailtrap::Client.new(api_key: 'your-api-key', bulk: true)

# Sandbox sending (@see https://help.mailtrap.io/article/109-getting-started-with-mailtrap-email-testing)g
# Sandbox sending (@see https://help.mailtrap.io/article/109-getting-started-with-mailtrap-email-testing)
# client = Mailtrap::Client.new(api_key: 'your-api-key', sandbox: true, inbox_id: 12)

client.send(mail)

0 comments on commit fad767c

Please sign in to comment.