Class: MoneyS3::Parsers::MsgMzdaType
- Inherits:
-
MessageType
show all
- Includes:
- ParserCore::BaseParser
- Defined in:
- lib/money_s3/parsers/msg_mzda_type.rb
Direct Known Subclasses
Mzda
Instance Method Summary
collapse
Methods inherited from MessageType
#data, #data_attributes, #error_info, #reference, #status, #status_attributes
Instance Method Details
#nepritomnost ⇒ Object
6
7
8
|
# File 'lib/money_s3/parsers/msg_mzda_type.rb', line 6
def nepritomnost
array_of_at(MessageType, ['Nepritomnost'])
end
|
#to_h ⇒ Object
10
11
12
13
14
15
16
17
18
|
# 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
|