Class: Alexa::Usage
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Alexa::Usage
- Defined in:
- app/models/alexa/usage.rb
Instance Method Summary collapse
Instance Method Details
#increment_count! ⇒ Object
6 7 8 9 |
# File 'app/models/alexa/usage.rb', line 6 def increment_count! self.count = self.count + 1 save! end |