Sha256: 5f61526eac529ab4cf2f2c754dfb1ae0cec92565226e85e2899846ee817af0e6

Contents?: true

Size: 240 Bytes

Versions: 2

Compression:

Stored size: 240 Bytes

Contents

module NativeGapModel

    extend ActiveSupport::Concern

    module ClassMethods
        def nativegap
            has_many :nativegap_apps, class_name: 'NativeGap::App', as: :owner, dependent: :destroy
        end
    end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nativegap-3.0.3 app/models/concerns/native_gap_model.rb
nativegap-3.0.2 app/models/concerns/native_gap_model.rb