class MoneyS3::Parsers::SeznamPoptPrij

Public Instance Methods

popt_prij() click to toggle source
# File lib/money_s3/parsers/seznam_popt_prij.rb, line 6
def popt_prij
  array_of_at(PoptPrij, ['PoptPrij'])
end
to_h() click to toggle source
# File lib/money_s3/parsers/seznam_popt_prij.rb, line 10
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:popt_prij] = popt_prij.map(&:to_h) if has? 'PoptPrij'

  hash
end