Sha256: 061c8cea65fd81148f4cdb0eb2a5658691cf961b0b2fa8a6b8915ef9f75a0c4a

Contents?: true

Size: 344 Bytes

Versions: 77

Compression:

Stored size: 344 Bytes

Contents

module Recurly
  class InvoiceCollection < Resource
    # @return [Invoice, nil]
    has_one :charge_invoice, class_name: :Invoice, readonly: true

    # @return [[Invoice], []]
    has_many :credit_invoices, class_name: :Invoice, readonly: true

    # These are readonly resources
    embedded! true
    undef save
    undef destroy
  end
end

Version data entries

77 entries across 77 versions & 1 rubygems

Version Path
recurly-2.20.3 lib/recurly/invoice_collection.rb
recurly-2.20.2 lib/recurly/invoice_collection.rb
recurly-2.20.1 lib/recurly/invoice_collection.rb
recurly-2.20.0 lib/recurly/invoice_collection.rb
recurly-2.19.13 lib/recurly/invoice_collection.rb
recurly-2.19.12 lib/recurly/invoice_collection.rb
recurly-2.19.11 lib/recurly/invoice_collection.rb
recurly-2.19.10 lib/recurly/invoice_collection.rb
recurly-2.19.9 lib/recurly/invoice_collection.rb
recurly-2.19.8 lib/recurly/invoice_collection.rb
recurly-2.19.7 lib/recurly/invoice_collection.rb
recurly-2.19.6 lib/recurly/invoice_collection.rb
recurly-2.19.5 lib/recurly/invoice_collection.rb
recurly-2.19.4 lib/recurly/invoice_collection.rb
recurly-2.19.3 lib/recurly/invoice_collection.rb
recurly-2.19.2 lib/recurly/invoice_collection.rb
recurly-2.19.1 lib/recurly/invoice_collection.rb
recurly-2.19.0 lib/recurly/invoice_collection.rb
recurly-2.18.34 lib/recurly/invoice_collection.rb
recurly-2.18.33 lib/recurly/invoice_collection.rb