Module: Rpush::Client::ActiveModel::Wns::Notification::InstanceMethods
- Defined in:
- lib/rpush/client/active_model/wns/notification.rb
Instance Method Summary collapse
Instance Method Details
#alert=(value) ⇒ Object
7 8 9 10 11 12 |
# File 'lib/rpush/client/active_model/wns/notification.rb', line 7 def alert=(value) return unless value data = self.data || {} data['title'] = value self.data = data end |
#skip_data_validation? ⇒ Boolean
14 15 16 |
# File 'lib/rpush/client/active_model/wns/notification.rb', line 14 def skip_data_validation? false end |