Commit b730d749c6a44e54abbeff72cebb516bd48a276a

Authored by Pius Uzamere
1 parent 97b1aefd

more intuitive naming of the deactivate method

Showing 1 changed file with 5 additions and 0 deletions   Show diff stats
lib/activation.rb
... ... @@ -8,4 +8,9 @@ module Activation
8 8 (self.active = false)
9 9 self.save!
10 10 end
  11 +
  12 + def deactivate!
  13 + (self.active = false)
  14 + self.save!
  15 + end
11 16 end
12 17 \ No newline at end of file
... ...