require 'money_s3/parsers/base_parser' require 'money_s3/parsers/vazba_type' module MoneyS3 module Parsers class SeznamVazeb include BaseParser def vazba submodel_at(VazbaType, 'Vazba') end def to_h_with_attrs hash = HashWithAttributes.new({}, attributes) hash[:vazba] = vazba.to_h_with_attrs if has? 'Vazba' hash end end end end