class Pohoda::Parsers::Rsp::ResponsePackType

Public Instance Methods

response_pack_item() click to toggle source
# File lib/pohoda/parsers/rsp/response_pack_type.rb, line 7
def response_pack_item
  array_of_at(Rsp::ResponsePackItemType, ['rsp:responsePackItem'])
end
to_h() click to toggle source
# File lib/pohoda/parsers/rsp/response_pack_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:response_pack_item] = response_pack_item.map(&:to_h) if has? 'rsp:responsePackItem'

  hash
end