Exception: Mollie::IdealException

Inherits:
Exception
  • Object
show all
Defined in:
lib/mollie/ideal_exception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(errorcode, message = "") ⇒ IdealException

Returns a new instance of IdealException.



4
5
6
7
# File 'lib/mollie/ideal_exception.rb', line 4

def initialize(errorcode, message="")
  self.errorcode = errorcode
  self.message = message
end

Instance Attribute Details

#errorcodeObject

Returns the value of attribute errorcode.



3
4
5
# File 'lib/mollie/ideal_exception.rb', line 3

def errorcode
  @errorcode
end

#messageObject

Returns the value of attribute message.



3
4
5
# File 'lib/mollie/ideal_exception.rb', line 3

def message
  @message
end