code-corps/code-corps-api

View on GitHub
lib/code_corps/stripe_service/events/customer_updated.ex

Summary

Maintainability
Test Coverage
defmodule CodeCorps.StripeService.Events.CustomerUpdated do
  def handle(%{data: %{object: %{id: id_from_stripe}}}) do
    CodeCorps.StripeService.StripePlatformCustomerService.update_from_stripe(id_from_stripe)
  end
end