class MoneyS3::Parsers::Control

Public Instance Methods

cislo_davky() click to toggle source
# File lib/money_s3/parsers/control.rb, line 6
def cislo_davky
  submodel_at(MessageRootType, 'CisloDavky')
end
hosp_rok() click to toggle source
# File lib/money_s3/parsers/control.rb, line 14
def hosp_rok
  submodel_at(MessageRootType, 'HospRok')
end
kod_agendy() click to toggle source
# File lib/money_s3/parsers/control.rb, line 10
def kod_agendy
  submodel_at(MessageRootType, 'KodAgendy')
end
to_h() click to toggle source
# File lib/money_s3/parsers/control.rb, line 18
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:cislo_davky] = cislo_davky.to_h if has? 'CisloDavky'
  hash[:kod_agendy] = kod_agendy.to_h if has? 'KodAgendy'
  hash[:hosp_rok] = hosp_rok.to_h if has? 'HospRok'

  hash
end