Sha256: 3a6060757a5a4481b1bdc54963d6b55325b8fdf2e3b277ef43228e1b1755f0ca

Contents?: true

Size: 323 Bytes

Versions: 7

Compression:

Stored size: 323 Bytes

Contents

module MoneyS3
  module Parsers
    class SeznamVazeb
      include ParserCore::BaseParser

      def vazba
        submodel_at(VazbaType, 'Vazba')
      end

      def to_h
        hash = {}
        hash[:attributes] = attributes

        hash[:vazba] = vazba.to_h if has? 'Vazba'

        hash
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
money_s3-2.4.1 lib/money_s3/parsers/seznam_vazeb.rb
money_s3-2.4.0 lib/money_s3/parsers/seznam_vazeb.rb
money_s3-2.3.0 lib/money_s3/parsers/seznam_vazeb.rb
money_s3-2.2.0 lib/money_s3/parsers/seznam_vazeb.rb
money_s3-2.1.0 lib/money_s3/parsers/seznam_vazeb.rb
money_s3-2.0.0 lib/money_s3/parsers/seznam_vazeb.rb
money_s3-1.0.0 lib/money_s3/parsers/seznam_vazeb.rb