Sha256: ef209731fe71b135ed1119412f5980e17669d6b786af06d3015cad4903a98b32
Contents?: true
Size: 650 Bytes
Versions: 25
Compression:
Stored size: 650 Bytes
Contents
module Exlibris module Primo # # Primo Tag # class Tag include Config::Attributes include Namespaces include WriteAttributes include XmlUtil def initialize *args @raw_xml = args.last.delete(:raw_xml) super end def user_id @user_id = xml.root.at_xpath("//userId").inner_text end def record_id @record_id = xml.root.at_xpath("//docId").inner_text end def status @status = xml.root.at_xpath("//status").inner_text end def value @value = xml.root.at_xpath("//value").inner_text end end end end
Version data entries
25 entries across 25 versions & 1 rubygems