class Epages::WebhookResponse
Constants
- KEYS
Public Class Methods
new(data)
click to toggle source
# File lib/epages/webhook_response.rb, line 11 def initialize(data) parse_attribute_as_array_of(:links, data.delete(:links), Epages::Link) parse_attribute_as_array_of(:content, data.delete(:content), Epages::Webhook) parse_attribute_as(:page, data.delete(:page), Epages::WebhookResponsePagination) end