class OneSignal::Commands::FetchNotification
Public Class Methods
new(notification_id)
click to toggle source
# File lib/onesignal/commands/fetch_notification.rb, line 6 def initialize notification_id @notification_id = notification_id end
Public Instance Methods
call()
click to toggle source
# File lib/onesignal/commands/fetch_notification.rb, line 10 def call client.fetch_notification @notification_id end