mandrill-api 1.0.50 → 1.0.51

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 +4 -0
  2. data/lib/mandrill/errors.rb +8 -0
  3. metadata +4 -4
@@ -71,10 +71,14 @@ module Mandrill
71
71
  'Unknown_Export' => UnknownExportError,
72
72
  'IP_ProvisionLimit' => IPProvisionLimitError,
73
73
  'Unknown_Pool' => UnknownPoolError,
74
+ 'NoSendingHistory' => NoSendingHistoryError,
75
+ 'PoorReputation' => PoorReputationError,
74
76
  'Unknown_IP' => UnknownIPError,
75
77
  'Invalid_EmptyDefaultPool' => InvalidEmptyDefaultPoolError,
76
78
  'Invalid_DeleteDefaultPool' => InvalidDeleteDefaultPoolError,
77
79
  'Invalid_DeleteNonEmptyPool' => InvalidDeleteNonEmptyPoolError,
80
+ 'Invalid_CustomDNS' => InvalidCustomDNSError,
81
+ 'Invalid_CustomDNSPending' => InvalidCustomDNSPendingError,
78
82
  'Metadata_FieldLimit' => MetadataFieldLimitError,
79
83
  'Unknown_MetadataField' => UnknownMetadataFieldError
80
84
  }
@@ -39,6 +39,10 @@ module Mandrill
39
39
  end
40
40
  class UnknownPoolError < Error
41
41
  end
42
+ class NoSendingHistoryError < Error
43
+ end
44
+ class PoorReputationError < Error
45
+ end
42
46
  class UnknownIPError < Error
43
47
  end
44
48
  class InvalidEmptyDefaultPoolError < Error
@@ -47,6 +51,10 @@ module Mandrill
47
51
  end
48
52
  class InvalidDeleteNonEmptyPoolError < Error
49
53
  end
54
+ class InvalidCustomDNSError < Error
55
+ end
56
+ class InvalidCustomDNSPendingError < Error
57
+ end
50
58
  class MetadataFieldLimitError < Error
51
59
  end
52
60
  class UnknownMetadataFieldError < 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: 115
4
+ hash: 113
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 50
10
- version: 1.0.50
9
+ - 51
10
+ version: 1.0.51
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: 2014-02-04 00:00:00 Z
18
+ date: 2014-02-07 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: json