Class: MagicBell::UserNotifications

Inherits:
ApiResourceCollection show all
Defined in:
lib/magicbell/api_resources/user_notifications.rb

Instance Method Summary collapse

Methods inherited from ApiResourceCollection

#authentication_headers, #current_page, #each, #each_page, #first, #initialize, #last_page?, #next_page, #per_page, #retrieve, #to_a, #total_pages, #url

Constructor Details

This class inherits a constructor from MagicBell::ApiResourceCollection

Instance Method Details

#nameObject



3
4
5
# File 'lib/magicbell/api_resources/user_notifications.rb', line 3

def name
  "notifications"
end

#pathObject



7
8
9
# File 'lib/magicbell/api_resources/user_notifications.rb', line 7

def path
  "/notifications"
end

#resource_classObject



11
12
13
# File 'lib/magicbell/api_resources/user_notifications.rb', line 11

def resource_class
  MagicBell::UserNotification
end