Sha256: 70afab1569bf27bffdc3a8e7d1be28c6565fcae039ae35398984be3e7b9fe977

Contents?: true

Size: 196 Bytes

Versions: 3

Compression:

Stored size: 196 Bytes

Contents

module OmiseGO
  class Address < Base
    attributes :address, :balances

    def balances
      @_balances ||= @balances.map do |balance|
        Balance.new(balance)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
omisego-0.9.6 lib/omisego/address.rb
omisego-0.9.5 lib/omisego/address.rb
omisego-0.9.4 lib/omisego/address.rb