Exception: Responsys::Exceptions::BaseException

Inherits:
Exception
  • Object
show all
Defined in:
lib/responsys/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(message_key = nil) ⇒ BaseException

Returns a new instance of BaseException.



4
5
6
7
8
9
10
# File 'lib/responsys/exceptions.rb', line 4

def initialize(message_key = nil)
  if message_key.nil?
    super
  else
    super(Responsys::Helper.get_message(message_key))
  end
end