Class: PushBuilder::Payload
- Inherits:
-
Object
- Object
- PushBuilder::Payload
- Defined in:
- lib/push_builder/payload.rb
Instance Attribute Summary collapse
-
#aps ⇒ Object
Returns the value of attribute aps.
-
#custom_data ⇒ Object
Returns the value of attribute custom_data.
-
#third_party_data ⇒ Object
Returns the value of attribute third_party_data.
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ Payload
constructor
A new instance of Payload.
- #to_json ⇒ Object
Constructor Details
Instance Attribute Details
#aps ⇒ Object
Returns the value of attribute aps.
3 4 5 |
# File 'lib/push_builder/payload.rb', line 3 def aps @aps end |
#custom_data ⇒ Object
Returns the value of attribute custom_data.
3 4 5 |
# File 'lib/push_builder/payload.rb', line 3 def custom_data @custom_data end |
#third_party_data ⇒ Object
Returns the value of attribute third_party_data.
3 4 5 |
# File 'lib/push_builder/payload.rb', line 3 def third_party_data @third_party_data end |