Method: Wbase::Subscription#monthly_value
- Defined in:
- app/models/wbase/subscription.rb
#monthly_value ⇒ Object
43 44 45 46 47 48 49 |
# File 'app/models/wbase/subscription.rb', line 43 def monthly_value if plan.interval.include?("month") current_price else current_price.fdiv(12) end end |