Sha256: 5360b2304648bc2ad0fd0010cb2d2c9347fa100f2c01da2587fac3fffee42808

Contents?: true

Size: 506 Bytes

Versions: 5

Compression:

Stored size: 506 Bytes

Contents

module Phcscriptcdn
  class Script::Listing < ApplicationRecord

    # Relationships

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

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

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

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

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
phcscriptcdn-5.0.0 app/models/phcscriptcdn/script/listing.rb
phcscriptcdn-4.3.10 app/models/phcscriptcdn/script/listing.rb
phcscriptcdn-4.3.9 app/models/phcscriptcdn/script/listing.rb
phcscriptcdn-4.3.8 app/models/phcscriptcdn/script/listing.rb
phcscriptcdn-4.3.7 app/models/phcscriptcdn/script/listing.rb