Class: CoreMerchant::SubscriptionStatusChangeEvent
- Inherits:
-
SubscriptionEvent
- Object
- ActiveRecord::Base
- SubscriptionEvent
- CoreMerchant::SubscriptionStatusChangeEvent
- Defined in:
- lib/core_merchant/subscription_event.rb
Overview
Represents a status change event for a subscription.
Instance Method Summary collapse
Methods inherited from SubscriptionEvent
Instance Method Details
#from ⇒ Object
79 80 81 |
# File 'lib/core_merchant/subscription_event.rb', line 79 def from ["from_status"] end |
#from=(value) ⇒ Object
83 84 85 |
# File 'lib/core_merchant/subscription_event.rb', line 83 def from=(value) self. = .merge(from_status: value) end |
#to ⇒ Object
87 88 89 |
# File 'lib/core_merchant/subscription_event.rb', line 87 def to ["to_status"] end |
#to=(value) ⇒ Object
91 92 93 |
# File 'lib/core_merchant/subscription_event.rb', line 91 def to=(value) self. = .merge(to_status: value) end |