class CatEngine::Response::XMLMapper

Public Instance Methods

id() click to toggle source
# File lib/cat_engine/response.rb, line 28
def id
  xml["ItemResponseOID"]
end
promis_id() click to toggle source
# File lib/cat_engine/response.rb, line 32
def promis_id
  xml["Value"]
end
title() click to toggle source
# File lib/cat_engine/response.rb, line 36
def title
  xml["Description"]
end
to_h() click to toggle source
# File lib/cat_engine/response.rb, line 40
def to_h
  {
    id: id,
    promis_id: promis_id,
    title: title,
  }
end