lib/netaxept/error_message.rb in netaxept-0.0.6 vs lib/netaxept/error_message.rb in netaxept-0.1.0
- old
+ new
@@ -1,9 +1,8 @@
module Netaxept
class ErrorMessage
attr_accessor :message, :code, :source, :text
def initialize(node)
- super
if(node)
@message = node["Message"]
@code = node["Code"]
@source = node["ResponseSource"]
@text = node["ResponseText"]
\ No newline at end of file