Sha256: ca9da170deb4703ffff8bb18f8f8a36fd666b36bb9bb9ac01fbdd0389167b198

Contents?: true

Size: 313 Bytes

Versions: 15

Compression:

Stored size: 313 Bytes

Contents

module Myfinance
  module Entities
    class SaleAccountCollection < Collection
      def build_collection
        response.parsed_body.each do |attributes|
          collection.push(
            Myfinance::Entities::SaleAccount.new(attributes["sale_account"])
          )
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
myfinance-1.8.2 lib/myfinance/entities/sale_account_collection.rb
myfinance-1.8.1 lib/myfinance/entities/sale_account_collection.rb
myfinance-1.8.0 lib/myfinance/entities/sale_account_collection.rb
myfinance-1.7.0 lib/myfinance/entities/sale_account_collection.rb
myfinance-1.6.6 lib/myfinance/entities/sale_account_collection.rb
myfinance-1.6.5 lib/myfinance/entities/sale_account_collection.rb
myfinance-1.6.4 lib/myfinance/entities/sale_account_collection.rb
myfinance-1.6.3 lib/myfinance/entities/sale_account_collection.rb
myfinance-1.6.1 lib/myfinance/entities/sale_account_collection.rb
myfinance-1.6.0 lib/myfinance/entities/sale_account_collection.rb
myfinance-1.5.0 lib/myfinance/entities/sale_account_collection.rb
myfinance-1.4.1 lib/myfinance/entities/sale_account_collection.rb
myfinance-1.4.0 lib/myfinance/entities/sale_account_collection.rb
myfinance-1.3.1 lib/myfinance/entities/sale_account_collection.rb
myfinance-1.3.0 lib/myfinance/entities/sale_account_collection.rb