class MoneyS3::Parsers::MsgMzdaType

Public Instance Methods

nepritomnost() click to toggle source
# File lib/money_s3/parsers/msg_mzda_type.rb, line 6
def nepritomnost
  array_of_at(MessageType, ['Nepritomnost'])
end
to_h() click to toggle source
Calls superclass method MoneyS3::Parsers::MessageType#to_h
# File lib/money_s3/parsers/msg_mzda_type.rb, line 10
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:nepritomnost] = nepritomnost.map(&:to_h) if has? 'Nepritomnost'

  hash
  super.merge(hash)
end