Sha256: a5c662166adab45801950e4671ea45a87282c9b6aac043d2de3a717de9a7f981

Contents?: true

Size: 487 Bytes

Versions: 11

Compression:

Stored size: 487 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

11 entries across 11 versions & 1 rubygems

Version Path
phcscriptcdn-4.3.6 app/models/phcscriptcdn/script/listing.rb
phcscriptcdn-4.3.5 app/models/phcscriptcdn/script/listing.rb
phcscriptcdn-4.3.4 app/models/phcscriptcdn/script/listing.rb
phcscriptcdn-4.3.3 app/models/phcscriptcdn/script/listing.rb
phcscriptcdn-4.3.2 app/models/phcscriptcdn/script/listing.rb
phcscriptcdn-4.3.1 app/models/phcscriptcdn/script/listing.rb
phcscriptcdn-4.3.0 app/models/phcscriptcdn/script/listing.rb
phcscriptcdn-4.2.1 app/models/phcscriptcdn/script/listing.rb
phcscriptcdn-4.2.0 app/models/phcscriptcdn/script/listing.rb
phcscriptcdn-4.1.0 app/models/phcscriptcdn/script/listing.rb
phcscriptcdn-4.0.0 app/models/phcscriptcdn/script/listing.rb