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
14 15 16 17 18 19 |
# File 'lib/rpush/client/active_model/wns/notification.rb', line 14 def alert=(value) return unless value data = self.data || {} data['title'] = value self.data = data end |
#skip_data_validation? ⇒ Boolean
21 22 23 |
# File 'lib/rpush/client/active_model/wns/notification.rb', line 21 def skip_data_validation? false end |