Sha256: abee9412649ff3299f7c0a5804b22031957a6ff37ce25400d845a5a218f0d944
Contents?: true
Size: 457 Bytes
Versions: 3
Compression:
Stored size: 457 Bytes
Contents
# frozen_string_literal: true module Vindi # Bill # # @example # # bill = Vindi::Bill.find(1) # bill.charges # # @example # # subscription = Vindi::Subscription.find(1) # bills = subscription.bills # class Bill < Model belongs_to :customer belongs_to :period belongs_to :subscription belongs_to :payment_profile # belongs_to :payment_condition has_many :bill_items has_many :charges end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
rvindi-0.0.3 | lib/vindi/models/bill.rb |
vindi-hermes-0.0.2 | lib/vindi/models/bill.rb |
vindi-hermes-0.0.1 | lib/vindi/models/bill.rb |