Sha256: 004ccd8617eee642fb90c44b013ec235504f567091ad5c915cd933f7524e3372
Contents?: true
Size: 296 Bytes
Versions: 2
Compression:
Stored size: 296 Bytes
Contents
module Netaxept class ErrorMessage attr_accessor :message, :code, :source, :text def initialize(node) if(node) @message = node["Message"] @code = node["Code"] @source = node["ResponseSource"] @text = node["ResponseText"] end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
netaxept-0.2.0 | lib/netaxept/error_message.rb |
netaxept-0.1.0 | lib/netaxept/error_message.rb |