Class: Pushofy::ApplePayload
- Defined in:
- lib/pushofy/applepayload.rb
Instance Attribute Summary collapse
-
#action_key_caption ⇒ Object
Returns the value of attribute action_key_caption.
-
#badge_number ⇒ Object
Returns the value of attribute badge_number.
-
#dict ⇒ Object
Returns the value of attribute dict.
-
#message ⇒ Object
Returns the value of attribute message.
-
#sound_name ⇒ Object
Returns the value of attribute sound_name.
Instance Method Summary collapse
-
#initialize(message, sound_name, badge_number, action_key_caption, dict) ⇒ ApplePayload
constructor
A new instance of ApplePayload.
Constructor Details
#initialize(message, sound_name, badge_number, action_key_caption, dict) ⇒ ApplePayload
Returns a new instance of ApplePayload.
10 11 12 13 14 15 16 |
# File 'lib/pushofy/applepayload.rb', line 10 def initialize(, sound_name, badge_number, action_key_caption, dict) = @sound_name = sound_name @badge_number = badge_number @action_key_caption = action_key_caption @dict = dict end |
Instance Attribute Details
#action_key_caption ⇒ Object
Returns the value of attribute action_key_caption.
8 9 10 |
# File 'lib/pushofy/applepayload.rb', line 8 def action_key_caption @action_key_caption end |
#badge_number ⇒ Object
Returns the value of attribute badge_number.
7 8 9 |
# File 'lib/pushofy/applepayload.rb', line 7 def badge_number @badge_number end |
#dict ⇒ Object
Returns the value of attribute dict.
9 10 11 |
# File 'lib/pushofy/applepayload.rb', line 9 def dict @dict end |
#message ⇒ Object
Returns the value of attribute message.
5 6 7 |
# File 'lib/pushofy/applepayload.rb', line 5 def end |
#sound_name ⇒ Object
Returns the value of attribute sound_name.
6 7 8 |
# File 'lib/pushofy/applepayload.rb', line 6 def sound_name @sound_name end |