Sha256: efce22419ff9b3b1413ad0b84593893dc71f9b05b4141e3f9ff8ba4bbf8e1d78

Contents?: true

Size: 336 Bytes

Versions: 23

Compression:

Stored size: 336 Bytes

Contents

# Copyright 2020 Google LLC
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT.

class Account < ActiveRecord::Base
  belongs_to :firm
  belongs_to :customer
  has_many :transactions

  alias_attribute :available_credit, :credit_limit
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
activerecord-spanner-adapter-0.7.0 acceptance/models/account.rb
activerecord-spanner-adapter-0.6.0 acceptance/models/account.rb
activerecord-spanner-adapter-0.5.0 acceptance/models/account.rb