Sha256: 56dbc2eafce7883db4fe299213d41bc6a5f31e9b77651d94d4da5dd8753367a8

Contents?: true

Size: 341 Bytes

Versions: 5

Compression:

Stored size: 341 Bytes

Contents

module Bankscrap
  class Investment
    include Utils::Inspectable

    attr_accessor :bank, :id, :name, :balance, :currency, :investment

    def initialize(params = {})
      params.each { |key, value| send "#{key}=", value }
    end

    private

    def inspect_attributes
      %i(id name balance currency investment)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bankscrap-2.0.6 lib/bankscrap/investment.rb
bankscrap-2.0.5 lib/bankscrap/investment.rb
bankscrap-2.0.4 lib/bankscrap/investment.rb
bankscrap-2.0.3 lib/bankscrap/investment.rb
bankscrap-2.0.2 lib/bankscrap/investment.rb