Class: Shark::Notification
- Extended by:
- Shark::NotificationService::Resource
- Defined in:
- lib/shark/notification.rb
Class Method Summary collapse
Methods inherited from Base
Class Method Details
.create_multiple(attributes) ⇒ Object
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/shark/notification.rb', line 10 def self.create_multiple(attributes) data = { data: { type: 'notifications', attributes: attributes } } bulk_creation(data) end |