Class: Pay::Abacatepay::Webhooks::SubscriptionTrialStarted

Inherits:
Object
  • Object
show all
Defined in:
lib/pay/abacatepay/webhooks/subscription_trial_started.rb

Instance Method Summary collapse

Instance Method Details

#call(_event_hash) ⇒ Object

Raises:

  • (NotImplementedError)


5
6
7
8
9
# File 'lib/pay/abacatepay/webhooks/subscription_trial_started.rb', line 5

def call(_event_hash)
  raise NotImplementedError,
    "subscription.trial_started is not listed in AbacatePay::Enums::Webhooks::EventTypes. " \
    "Confirm the event exists in the AbacatePay API before enabling trial support."
end