Class: Wco::Subscription
- Inherits:
-
Object
- Object
- Wco::Subscription
- Includes:
- Mongoid::Document, Mongoid::Timestamps
- Defined in:
- lib/wco/subscription.rb
Instance Method Summary collapse
- #leadset ⇒ Object
-
#profile ⇒ Object
This was for ACL on wco dashboard? Should that be the same class? @TODO: optional ?!.
Instance Method Details
#leadset ⇒ Object
10 11 12 |
# File 'lib/wco/subscription.rb', line 10 def leadset Leadset.find leadset_id end |
#profile ⇒ Object
This was for ACL on wco dashboard? Should that be the same class? @TODO: optional ?!
21 |
# File 'lib/wco/subscription.rb', line 21 belongs_to :profile, class_name: '::Ish::UserProfile', inverse_of: :subscriptions, optional: true |