class RmsWebService::Response::Item::Update

Attributes

code[RW]
errors[RW]

Public Class Methods

new(xml) click to toggle source
# File lib/rms_web_service/response/item/update.rb, line 6
def initialize(xml)
  super
  set_attributes @parsed_xml.xpath("//item").children
end

Public Instance Methods

success?() click to toggle source
# File lib/rms_web_service/response/item/update.rb, line 11
def success?
  return @code == "N000" ? true : false
end