class Tikkie::Notifications::BundleNotification
Bundle notification.
Constants
- NOTIFICATION_TYPE
Attributes
body[R]
Public Class Methods
new(body)
click to toggle source
# File lib/tikkie/notifications/bundle_notification.rb, line 11 def initialize(body) @body = body end
Public Instance Methods
bundle_id()
click to toggle source
# File lib/tikkie/notifications/bundle_notification.rb, line 23 def bundle_id body[:bundleId] end
notification_type()
click to toggle source
# File lib/tikkie/notifications/bundle_notification.rb, line 19 def notification_type body[:notificationType] end
subscription_id()
click to toggle source
# File lib/tikkie/notifications/bundle_notification.rb, line 15 def subscription_id body[:subscriptionId] end