class MoneyS3::Parsers::ParametrKartaType

Public Instance Methods

parametr() click to toggle source
# File lib/money_s3/parsers/parametr_karta_type.rb, line 6
def parametr
  submodel_at(ParametrType, 'Parametr')
end
poradi() click to toggle source
# File lib/money_s3/parsers/parametr_karta_type.rb, line 10
def poradi
  at 'Poradi'
end
poradi_attributes() click to toggle source
# File lib/money_s3/parsers/parametr_karta_type.rb, line 14
def poradi_attributes
  attributes_at 'Poradi'
end
to_h() click to toggle source
# File lib/money_s3/parsers/parametr_karta_type.rb, line 26
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:parametr] = parametr.to_h if has? 'Parametr'
  hash[:poradi] = poradi if has? 'Poradi'
  hash[:poradi_attributes] = poradi_attributes if has? 'Poradi'
  hash[:value] = value if has? 'Value'
  hash[:value_attributes] = value_attributes if has? 'Value'

  hash
end
value() click to toggle source
# File lib/money_s3/parsers/parametr_karta_type.rb, line 18
def value
  at 'Value'
end
value_attributes() click to toggle source
# File lib/money_s3/parsers/parametr_karta_type.rb, line 22
def value_attributes
  attributes_at 'Value'
end