class Pohoda::Parsers::Str::ItemStorageType2

Public Instance Methods

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

  hash[:sub_storages] = sub_storages if has? 'str:subStorages'
  hash[:sub_storages_attributes] = sub_storages_attributes if has? 'str:subStorages'

  hash
end