class Pohoda::Parsers::Lst::ListContractType

Public Instance Methods

item_contract() click to toggle source
# File lib/pohoda/parsers/lst/list_contract_type.rb, line 7
def item_contract
  at 'lst:itemContract'
end
item_contract_attributes() click to toggle source
# File lib/pohoda/parsers/lst/list_contract_type.rb, line 11
def item_contract_attributes
  attributes_at 'lst:itemContract'
end
to_h() click to toggle source
Calls superclass method
# File lib/pohoda/parsers/lst/list_contract_type.rb, line 15
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:item_contract] = item_contract if has? 'lst:itemContract'
  hash[:item_contract_attributes] = item_contract_attributes if has? 'lst:itemContract'

  hash
  super.merge(hash)
end