class MagicBell::UserNotificationUnread

Attributes

user_notification[R]

Public Class Methods

new(client, attributes) click to toggle source
Calls superclass method
# File lib/magicbell/api_resources/user_notification_unread.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_unread.rb, line 10
def path
  user_notification.path + "/unread"
end