Sha256: 299d9fd49051e9bc7dd5109353abdd1e4ecc52db47902651b40ba9fc9a20f580

Contents?: true

Size: 383 Bytes

Versions: 4

Compression:

Stored size: 383 Bytes

Contents

module Phcscriptcdn
  class Script::Version < ApplicationRecord

    # Relationships

    # Attach to Listing (None Nested)
    has_many :listings, class_name: 'Phcscriptcdn::Script::Listing'

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

    # Validation for Form Fields
    validates :scriptversion,
      presence: true

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
phcscriptcdn-5.1.2 app/models/phcscriptcdn/script/version.rb
phcscriptcdn-5.1.1 app/models/phcscriptcdn/script/version.rb
phcscriptcdn-5.1.0 app/models/phcscriptcdn/script/version.rb
phcscriptcdn-5.0.1 app/models/phcscriptcdn/script/version.rb