Class: RelationshipsKit
- Inherits:
-
Kit
- Object
- ActiveRecord::Base
- Kit
- RelationshipsKit
show all
- Defined in:
- app/models/relationships_kit.rb
Instance Method Summary
collapse
Methods inherited from Kit
#abilities, #activatable?, activate, activation_requirements, acts_as_kit, #admin_approvable?, admin_approval_requirements, admin_approve, #alternatives, #approvable?, approval_requirements, approve, #has_alternatives?, mailchimp, pad_with_new_kits, #requirements_met?, subklasses, visible, when_active
#record_activation, #record_approval
Instance Method Details
27
28
29
30
|
# File 'app/models/relationships_kit.rb', line 27
def configured!
settings[:membership_state] = "configured"
save
end
|
23
24
25
|
# File 'app/models/relationships_kit.rb', line 23
def configured?
true
end
|
#friendly_name ⇒ Object
15
16
17
|
# File 'app/models/relationships_kit.rb', line 15
def friendly_name
"Relationships"
end
|
#pitch ⇒ Object
19
20
21
|
# File 'app/models/relationships_kit.rb', line 19
def pitch
"Track Relationships!"
end
|