Sha256: 45e4ae79bfcc7bb06b959ea669d2c7e4d61d0d6fca0f7d0e9b7991292c66dc12

Contents?: true

Size: 346 Bytes

Versions: 1

Compression:

Stored size: 346 Bytes

Contents

require 'money_s3/base_element'

module MoneyS3
  class TelefonType
    include BaseElement

    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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
money_s3-0.3.0 lib/money_s3/telefon_type.rb