mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-24 23:59:40 +02: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
16 lines
277 B
Ruby
16 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
|