class Pohoda::Parsers::Grs::GroupStocksDetailType
Public Instance Methods
to_h()
click to toggle source
# File lib/pohoda/parsers/grs/group_stocks_detail_type.rb, line 11 def to_h hash = {} hash[:attributes] = attributes hash[:variant] = variant.map(&:to_h) if has? 'grs:variant' hash end
variant()
click to toggle source
# File lib/pohoda/parsers/grs/group_stocks_detail_type.rb, line 7 def variant array_of_at(Gr::VariantsItemType, ['grs:variant']) end