Sha256: d40fc8ca5305250c3cf950691168add38b1d369ff14c29e2b28bce91c1c7a1c4

Contents?: true

Size: 288 Bytes

Versions: 1

Compression:

Stored size: 288 Bytes

Contents

require 'money_s3/base_element'
require 'money_s3/vazba_type'

module MoneyS3
  class SeznamVazeb
    include BaseElement

    def vazba
      submodel_at(VazbaType, :Vazba)
    end

    def to_h
      { vazba: vazba.to_h
      }.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/seznam_vazeb.rb