class MoneyS3::Parsers::MsgFirmaType

Public Instance Methods

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

  hash[:osoba] = osoba.map(&:to_h) if has? 'Osoba'

  hash
  super.merge(hash)
end