mirror of
https://github.com/we-promise/sure.git
synced 2026-04-08 14:54:49 +00:00
* Save work * Subscriptions and trials domain * Store family ID on customer * Remove indirection of stripe calls * Test simplifications * Update brakeman * Fix stripe tests in CI * Update billing page to show subscription details * Remove legacy columns * Complete billing settings page * Fix hardcoded plan name * Handle subscriptions for self hosting mode * Lint fixes
17 lines
277 B
Ruby
17 lines
277 B
Ruby
class Provider::Stripe::EventProcessor
|
|
def initialize(event)
|
|
@event = event
|
|
end
|
|
|
|
def process
|
|
raise NotImplementedError, "Subclasses must implement the process method"
|
|
end
|
|
|
|
private
|
|
attr_reader :event
|
|
|
|
def event_data
|
|
event.data.object
|
|
end
|
|
end
|