Class: MagicBell::UserNotificationPreferences

Inherits:
ApiResource
  • Object
show all
Defined in:
lib/magicbell/api_resources/user_notification_preferences.rb

Instance Attribute Summary

Attributes inherited from ApiResource

#id

Instance Method Summary collapse

Methods inherited from ApiResource

#attribute, #attributes, #create, create, create_path, #create_path, create_url, #create_url, find, #initialize, name, #retrieve, #update, #url

Constructor Details

This class inherits a constructor from MagicBell::ApiResource

Instance Method Details

#nameObject



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

def name
  "notification_preferences"
end

#pathObject



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

def path
  "/notification_preferences"
end