Methods
- P
Instance Public methods
perform(event_id, account_id) Link
Source: show
# File engines/api/app/jobs/api/remote_subscriber_job.rb, line 5 def perform(event_id, account_id) event = Stripe::Event.retrieve(event_id, {stripe_account: account_id}) RemoteSubscriptionCreator.new(event.data.object).create_if_needed rescue Stripe::InvalidRequestError end