Sha256: 3b08a5e11fe75fe144b6aefae3daa6101f02c3c72f1aa42e9f21cd07df5c02f3

Contents?: true

Size: 1.47 KB

Versions: 1

Compression:

Stored size: 1.47 KB

Contents

require 'mandrill'

module Mandrill
  constants.select{|c| /Error$/ =~ c.to_s}.each{|const| remove_const(const) }
  class Error < StandardError
  end
  class ValidationError < Error
  end
  class InvalidKeyError < Error
  end
  class PaymentRequiredError < Error
  end
  class UnknownSubaccountError < Error
  end
  class UnknownTemplateError < Error
  end
  class ServiceUnavailableError < Error
  end
  class UnknownMessageError < Error
  end
  class InvalidTagNameError < Error
  end
  class InvalidRejectError < Error
  end
  class UnknownSenderError < Error
  end
  class UnknownUrlError < Error
  end
  class UnknownTrackingDomainError < Error
  end
  class InvalidTemplateError < Error
  end
  class UnknownWebhookError < Error
  end
  class UnknownInboundDomainError < Error
  end
  class UnknownInboundRouteError < Error
  end
  class UnknownExportError < Error
  end
  class IPProvisionLimitError < Error
  end
  class UnknownPoolError < Error
  end
  class NoSendingHistoryError < Error
  end
  class PoorReputationError < Error
  end
  class UnknownIPError < Error
  end
  class InvalidEmptyDefaultPoolError < Error
  end
  class InvalidDeleteDefaultPoolError < Error
  end
  class InvalidDeleteNonEmptyPoolError < Error
  end
  class InvalidCustomDNSError < Error
  end
  class InvalidCustomDNSPendingError < Error
  end
  class MetadataFieldLimitError < Error
  end
  class UnknownMetadataFieldError < Error
  end
end

MandrillMailer.config.api_key = ApplicationSettings.mandrill.api_key

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
grape-gen-0.0.6 template/config/initializers/mandrill.rb