| Module | ABingoCampingPlugin::Models |
| In: |
lib/camping-abingo.rb
|
Models module for the ABingo Camping Plugin. The module will be plugged in to the main app models module. Example:
module CampingABingoTest::Models
include ABingoCampingPlugin::Models
class User < Base;
has_many :client_applications
has_many :tokens, :class_name=>"OauthToken",:order=>"authorized_at desc",:include=>[:client_application]
end
# ...
end
This module requires the abingo-plugin gem to be installed as it will load the following models
- Experiment - Alternative