class Exlibris::Primo::Tag
Public Class Methods
new(*args)
click to toggle source
Calls superclass method
Exlibris::Primo::WriteAttributes::new
# File lib/exlibris/primo/tag.rb, line 12 def initialize *args @raw_xml = args.last.delete(:raw_xml) super end
Public Instance Methods
record_id()
click to toggle source
# File lib/exlibris/primo/tag.rb, line 21 def record_id @record_id = xml.root.at_xpath("//docId").inner_text end
status()
click to toggle source
# File lib/exlibris/primo/tag.rb, line 25 def status @status = xml.root.at_xpath("//status").inner_text end
user_id()
click to toggle source
# File lib/exlibris/primo/tag.rb, line 17 def user_id @user_id = xml.root.at_xpath("//userId").inner_text end
value()
click to toggle source
# File lib/exlibris/primo/tag.rb, line 29 def value @value = xml.root.at_xpath("//value").inner_text end