Sha256: a4668d4a7f83f542c89898d1f7df8281f6f1684e1fa2697dcb8a8d3c9485323d

Contents?: true

Size: 210 Bytes

Versions: 17

Compression:

Stored size: 210 Bytes

Contents

# frozen_string_literal: true

class Account
  def initialize(json = {})
    @json = json
  end

  private

  attr_reader :json

  def filter_income(transactions)
    transactions.select(&:positive?)
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
arstotzka-1.6.2 spec/support/models/account.rb
arstotzka-1.6.1 spec/support/models/account.rb
arstotzka-1.6.0 spec/support/models/account.rb
arstotzka-1.5.0 spec/support/models/account.rb
arstotzka-1.4.4 spec/support/models/account.rb
arstotzka-1.4.3 spec/support/models/account.rb
arstotzka-1.4.2 spec/support/models/account.rb
arstotzka-1.4.1 spec/support/models/account.rb
arstotzka-1.4.0 spec/support/models/account.rb
arstotzka-1.3.2 spec/support/models/account.rb
arstotzka-1.3.1 spec/support/models/account.rb
arstotzka-1.3.0 spec/support/models/account.rb
arstotzka-1.2.4 spec/support/models/account.rb
arstotzka-1.2.3 spec/support/models/account.rb
arstotzka-1.2.2 spec/support/models/account.rb
arstotzka-1.2.1 spec/support/models/account.rb
arstotzka-1.2.0 spec/support/models/account.rb