Sha256: 9ef4c9e34d628b1ccc9ad94a8fb92b7a9d61e5d70e26b64a311b95f628fa3e53

Contents?: true

Size: 367 Bytes

Versions: 19

Compression:

Stored size: 367 Bytes

Contents

module Myfinance
  module Entities
    #
    # A wrapper to Myfinance payable accounts collection
    #
    class PayableAccountCollection < Collection
      def build_collection
        response.parsed_body.each do |attributes|
          collection.push(Myfinance::Entities::PayableAccount.new(attributes["payable_account"]))
        end
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

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