Class: RelationshipsKit

Inherits:
Kit
  • Object
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

Methods included from Ext::Integrations::Kit

#record_activation, #record_approval

Instance Method Details

#configured!Object



27
28
29
30
# File 'app/models/relationships_kit.rb', line 27

def configured!
  settings[:membership_state] = "configured"
  save
end

#configured?Boolean

Returns:

  • (Boolean)


23
24
25
# File 'app/models/relationships_kit.rb', line 23

def configured?
  true
end

#friendly_nameObject



15
16
17
# File 'app/models/relationships_kit.rb', line 15

def friendly_name
  "Relationships"
end

#pitchObject



19
20
21
# File 'app/models/relationships_kit.rb', line 19

def pitch
  "Track Relationships!"
end