Sha256: 53f5fb5e556420a9559e309ef5afd672b828da4efc8b95a809857e42fa5e4a5c
Contents?: true
Size: 521 Bytes
Versions: 25
Compression:
Stored size: 521 Bytes
Contents
module Exlibris module Primo module WebService module Response module Error def error? (error_code && (not error_code.eql? "0")) end def error @error ||= xml_without_namespaces.root.at_xpath("//ERROR") end def error_code @error_code ||= error["CODE"] if error end def error_message @error_message ||= error["MESSAGE"] if error end end end end end end
Version data entries
25 entries across 25 versions & 1 rubygems