Class: Wbase::Plan
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Wbase::Plan
- Defined in:
- app/models/wbase/plan.rb
Class Method Summary collapse
Class Method Details
.annual ⇒ Object
30 31 32 |
# File 'app/models/wbase/plan.rb', line 30 def self.annual where("interval LIKE '%yearly%'") end |
.monthly ⇒ Object
26 27 28 |
# File 'app/models/wbase/plan.rb', line 26 def self.monthly where("interval LIKE '%month%'") end |