class MagicBell::UserNotificationRead
Attributes
user_notification[R]
Public Class Methods
new(client, attributes)
click to toggle source
Calls superclass method
# File lib/magicbell/api_resources/user_notification_read.rb, line 5 def initialize(client, attributes) @user_notification = attributes.delete("user_notification") super(client, attributes) end
Public Instance Methods
path()
click to toggle source
# File lib/magicbell/api_resources/user_notification_read.rb, line 10 def path user_notification.path + "/read" end