Sha256: 1f7973e82a9150c25c62467d4b3d6edf222c15c914683faaae3fa2c6c9e2f2d2

Contents?: true

Size: 391 Bytes

Versions: 20

Compression:

Stored size: 391 Bytes

Contents

module Myfinance
  module Entities
    #
    # A wrapper to Myfinance financial transactions collection
    #
    class FinancialTransactionCollection < Collection
      def build_collection
        response.parsed_body.each do |attributes|
          collection.push(Myfinance::Entities::FinancialTransaction.new(attributes["financial_transaction"]))
        end
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
myfinance-1.8.2 lib/myfinance/entities/financial_transaction_collection.rb
myfinance-1.8.1 lib/myfinance/entities/financial_transaction_collection.rb
myfinance-1.8.0 lib/myfinance/entities/financial_transaction_collection.rb
myfinance-1.7.0 lib/myfinance/entities/financial_transaction_collection.rb
myfinance-1.6.6 lib/myfinance/entities/financial_transaction_collection.rb
myfinance-1.6.5 lib/myfinance/entities/financial_transaction_collection.rb
myfinance-1.6.4 lib/myfinance/entities/financial_transaction_collection.rb
myfinance-1.6.3 lib/myfinance/entities/financial_transaction_collection.rb
myfinance-1.6.1 lib/myfinance/entities/financial_transaction_collection.rb
myfinance-1.6.0 lib/myfinance/entities/financial_transaction_collection.rb
myfinance-1.5.0 lib/myfinance/entities/financial_transaction_collection.rb
myfinance-1.4.1 lib/myfinance/entities/financial_transaction_collection.rb
myfinance-1.4.0 lib/myfinance/entities/financial_transaction_collection.rb
myfinance-1.3.1 lib/myfinance/entities/financial_transaction_collection.rb
myfinance-1.3.0 lib/myfinance/entities/financial_transaction_collection.rb
myfinance-1.2.1 lib/myfinance/entities/financial_transaction_collection.rb
myfinance-1.2.0 lib/myfinance/entities/financial_transaction_collection.rb
myfinance-1.1.0 lib/myfinance/entities/financial_transaction_collection.rb
myfinance-1.0.0 lib/myfinance/entities/financial_transaction_collection.rb
myfinance-0.7.0 lib/myfinance/entities/financial_transaction_collection.rb