Sha256: 252f9eed4a8b3cc3811444d3656bed870ddde08c5dff609c48f6a6794464a2c1

Contents?: true

Size: 410 Bytes

Versions: 1

Compression:

Stored size: 410 Bytes

Contents

require 'money_s3/parsers/base_parser'

module MoneyS3
  module Parsers
    class TelefonType
      include BaseParser

      def pred
        at :Pred
      end

      def cislo
        at :Cislo
      end

      def klap
        at :Klap
      end

      def to_h
        { pred: pred,
          cislo: cislo,
          klap: klap
        }.delete_if { |k, v| v.nil? || v.empty? }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
money_s3-0.4.0 lib/money_s3/parsers/telefon_type.rb