Sha256: e456993f6b7cdb80b92d0dbe1b4b5287348b1738294ea1d3b2b6b605341abe0d

Contents?: true

Size: 358 Bytes

Versions: 5

Compression:

Stored size: 358 Bytes

Contents

require 'money_s3/base_element'
require 'money_s3/faktura_type'

module MoneyS3
  class MoneyData
    include BaseElement

    def seznam_fakt_vyd
      elements = raw[:SeznamFaktVyd][:FaktVyd]
      if elements.is_a? Hash
        elements = [elements]
      end

      elements.map do |raw|
        MoneyS3::FakturaType.new(raw)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
money_s3-0.1.5 lib/money_s3/money_data.rb
money_s3-0.1.4 lib/money_s3/money_data.rb
money_s3-0.1.3 lib/money_s3/money_data.rb
money_s3-0.1.1 lib/money_s3/money_data.rb
money_s3-0.1.0 lib/money_s3/money_data.rb