Class: MessengerRecurringNotification
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- MessengerRecurringNotification
- Defined in:
- lib/core/models/messenger_recurring_notification.rb
Instance Method Summary collapse
Instance Method Details
#data ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/core/models/messenger_recurring_notification.rb', line 5 def data { token: self.token, frecuency: self.frecuency, expires_at: self.expires_at, token_status: self.token_status, timezone: self.timezone, status: self.active ? :active : :stopped } end |