Sha256: 8bf616eabfbabe73939b3234644e1b8207e9d83e82bca07b88968a328b32405c

Contents?: true

Size: 422 Bytes

Versions: 22

Compression:

Stored size: 422 Bytes

Contents

module Myfinance
  module Entities
    #
    # a wrapper to Myfinance deposit account collection
    #
    class DepositAccountCollection < Collection
      def build_collection
        response.parsed_body.each do |attributes|
          collection.push(Myfinance::Entities::DepositAccount.new(
                            attributes["deposit_account"])
                          )
        end
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

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