Method: Rpush::Client::ActiveModel::Wns::Notification::InstanceMethods#alert=
- Defined in:
- lib/rpush/client/active_model/wns/notification.rb
#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 |