Method: EppErrorResponse#initialize

Defined in:
lib/epp/exceptions.rb

#initialize(attributes = {}) ⇒ EppErrorResponse

Generic EPP exception. Accepts a response code and a message



7
8
9
10
11
12
13
# File 'lib/epp/exceptions.rb', line 7

def initialize(attributes = {})
  requires!(attributes, :xml, :code, :message)
  
  @response_xml   = attributes[:xml]
  @response_code  = attributes[:code]
  @message        = attributes[:message]
end