Class: Smartpay::Requests::WebhookEndpointUpdate

Inherits:
WebhookEndpoint show all
Defined in:
lib/smartpay/requests/webhook_endpoint_update.rb

Overview

WebhookEndpointUpdate

Constant Summary

Constants inherited from WebhookEndpoint

Smartpay::Requests::WebhookEndpoint::ALLOWED_EVENT_SUBSCRIPTIONS_VALUES, Smartpay::Requests::WebhookEndpoint::REQUIREMENT_KEY_NAME

Instance Attribute Summary

Attributes inherited from WebhookEndpoint

#payload

Instance Method Summary collapse

Methods inherited from WebhookEndpoint

#initialize

Constructor Details

This class inherits a constructor from Smartpay::Requests::WebhookEndpoint

Instance Method Details

#as_hashObject



8
9
10
11
# File 'lib/smartpay/requests/webhook_endpoint_update.rb', line 8

def as_hash
  validate_event_subscription
  normalize_payload
end