Sha256: d667f0f464ca8e1522e3d7bcd8eac87c638f882314cfd5fc896c71e63cceeb01

Contents?: true

Size: 237 Bytes

Versions: 2

Compression:

Stored size: 237 Bytes

Contents

module NativeModel

    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.1 app/models/concerns/native_model.rb
nativegap-3.0.0 app/models/concerns/native_model.rb