Sha256: ec0b3f0d081543c3c4bdffd57e95447ae92f80940bd6d86304bb3eb5a28cd088

Contents?: true

Size: 521 Bytes

Versions: 8

Compression:

Stored size: 521 Bytes

Contents

module Phcscriptcdnpro
  class Script::Listing < ApplicationRecord

    # Relationships

    # Attach to URL (Nested)
    has_many :urls, class_name: 'Phcscriptcdnpro::Script::Url'

    # Attach to Author (None Nested)
    belongs_to :author, class_name: 'Phcscriptcdnpro::Script::Author'

    # Attach to Version (None Nested)
    belongs_to :version, class_name: 'Phcscriptcdnpro::Script::Version'

    # Attach to Licence (None Nested)
    belongs_to :licence, class_name: 'Phcscriptcdnpro::Script::Licence'

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
phcscriptcdnpro-8.0.1 app/models/phcscriptcdnpro/script/listing.rb
phcscriptcdnpro-8.0.0 app/models/phcscriptcdnpro/script/listing.rb
phcscriptcdnpro-7.1.3 app/models/phcscriptcdnpro/script/listing.rb
phcscriptcdnpro-7.1.2 app/models/phcscriptcdnpro/script/listing.rb
phcscriptcdnpro-7.1.1 app/models/phcscriptcdnpro/script/listing.rb
phcscriptcdnpro-7.1.0 app/models/phcscriptcdnpro/script/listing.rb
phcscriptcdnpro-7.0.0 app/models/phcscriptcdnpro/script/listing.rb
phcscriptcdnpro-6.0.3 app/models/phcscriptcdnpro/script/listing.rb