class Pohoda::Parsers::Str::SubStoragesType2

Public Instance Methods

item_storage() click to toggle source
# File lib/pohoda/parsers/str/sub_storages_type2.rb, line 7
def item_storage
  at 'str:itemStorage'
end
item_storage_attributes() click to toggle source
# File lib/pohoda/parsers/str/sub_storages_type2.rb, line 11
def item_storage_attributes
  attributes_at 'str:itemStorage'
end
to_h() click to toggle source
# File lib/pohoda/parsers/str/sub_storages_type2.rb, line 15
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:item_storage] = item_storage if has? 'str:itemStorage'
  hash[:item_storage_attributes] = item_storage_attributes if has? 'str:itemStorage'

  hash
end