class APNS::Notification
Attributes
action_loc_key[RW]
alert_body[RW]
badge[RW]
content_available[RW]
custom_data[RW]
launch_image[RW]
loc_args[RW]
loc_key[RW]
sound[RW]
Public Instance Methods
to_hash()
click to toggle source
# File lib/apns/notification.rb, line 10 def to_hash { :alert => { :body => self.alert_body, :action_loc_key => self.action_loc_key, :loc_key => self.loc_key, :loc_args => self.loc_args, :launch_image => self.launch_image }, :badge => self.badge, :sound => self.sound, :content_available => self.content_available, :custom_data => self.custom_data } end