class Pohoda::Parsers::Ftr::SelectedCompanysType

Public Instance Methods

company() click to toggle source
# File lib/pohoda/parsers/ftr/selected_companys_type.rb, line 7
def company
  array_of_at(Typ::StringCompany, ['ftr:company'])
end
to_h() click to toggle source
# File lib/pohoda/parsers/ftr/selected_companys_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:company] = company.map(&:to_h) if has? 'ftr:company'

  hash
end