Class: Payflow::Subscription
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Payflow::Subscription
- Defined in:
- app/models/payflow/subscription.rb
Instance Method Summary collapse
Instance Method Details
#active? ⇒ Boolean
20 21 22 |
# File 'app/models/payflow/subscription.rb', line 20 def active? status == "active" end |
#cancelled? ⇒ Boolean
28 29 30 |
# File 'app/models/payflow/subscription.rb', line 28 def cancelled? status == "cancelled" end |
#overdue? ⇒ Boolean
24 25 26 |
# File 'app/models/payflow/subscription.rb', line 24 def overdue? status == "overdue" end |