mandrill-api 1.0.30 → 1.0.31

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/mandrill.rb +1 -0
  2. data/lib/mandrill/errors.rb +2 -0
  3. metadata +4 -4
data/lib/mandrill.rb CHANGED
@@ -55,6 +55,7 @@ module Mandrill
55
55
  'ValidationError' => ValidationError,
56
56
  'Invalid_Key' => InvalidKeyError,
57
57
  'Unknown_Template' => UnknownTemplateError,
58
+ 'ServiceUnavailable' => ServiceUnavailableError,
58
59
  'Invalid_Tag_Name' => InvalidTagNameError,
59
60
  'Invalid_Reject' => InvalidRejectError,
60
61
  'Unknown_Sender' => UnknownSenderError,
@@ -7,6 +7,8 @@ module Mandrill
7
7
  end
8
8
  class UnknownTemplateError < Error
9
9
  end
10
+ class ServiceUnavailableError < Error
11
+ end
10
12
  class InvalidTagNameError < Error
11
13
  end
12
14
  class InvalidRejectError < Error
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mandrill-api
3
3
  version: !ruby/object:Gem::Version
4
- hash: 43
4
+ hash: 41
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 30
10
- version: 1.0.30
9
+ - 31
10
+ version: 1.0.31
11
11
  platform: ruby
12
12
  authors:
13
13
  - Mandrill Devs
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-05-15 00:00:00 Z
18
+ date: 2013-05-24 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: json