class Pohoda::Parsers::Acp::StockType2
Public Instance Methods
code()
click to toggle source
# File lib/pohoda/parsers/acp/stock_type2.rb, line 15 def code at 'acp:code' end
code_attributes()
click to toggle source
# File lib/pohoda/parsers/acp/stock_type2.rb, line 19 def code_attributes attributes_at 'acp:code' end
id()
click to toggle source
# File lib/pohoda/parsers/acp/stock_type2.rb, line 7 def id at 'acp:id' end
id_attributes()
click to toggle source
# File lib/pohoda/parsers/acp/stock_type2.rb, line 11 def id_attributes attributes_at 'acp:id' end
to_h()
click to toggle source
# File lib/pohoda/parsers/acp/stock_type2.rb, line 23 def to_h hash = {} hash[:attributes] = attributes hash[:id] = id if has? 'acp:id' hash[:id_attributes] = id_attributes if has? 'acp:id' hash[:code] = code if has? 'acp:code' hash[:code_attributes] = code_attributes if has? 'acp:code' hash end