Module: Peddler::Notifications::DetailPageTrafficEvent

Defined in:
lib/peddler/notifications/detail_page_traffic_event.rb,
lib/peddler/notifications/detail_page_traffic_event/payload.rb,
lib/peddler/notifications/detail_page_traffic_event/notification.rb,
lib/peddler/notifications/detail_page_traffic_event/notification_metadata.rb,
lib/peddler/notifications/detail_page_traffic_event/detail_page_traffic_event.rb,
lib/peddler/notifications/detail_page_traffic_event/detail_page_traffic_events.rb,
sig/peddler/notifications/detail_page_traffic_event.rbs

Overview

The root schema comprises the entire JSON document.

Defined Under Namespace

Classes: DetailPageTrafficEvent, DetailPageTrafficEvents, Notification, NotificationMetadata, Payload

Class Method Summary collapse

Class Method Details

.parse(hash) ⇒ Peddler::Notifications::DetailPageTrafficEvent::Notification

Parameters:

  • (Hash[String | Symbol, untyped])

Returns:



12
13
14
# File 'lib/peddler/notifications/detail_page_traffic_event.rb', line 12

def parse(hash)
  Notification.parse(hash)
end