Class: KakaoPush::Apns
- Inherits:
-
Object
- Object
- KakaoPush::Apns
- Includes:
- ToHashable
- Defined in:
- lib/kakao_push/apns.rb
Instance Method Summary collapse
-
#initialize(badge: nil, sound: nil, push_alert: nil, message: nil, custom_field: nil, push_token: nil, apns_env: nil) ⇒ Apns
constructor
A new instance of Apns.
Methods included from ToHashable
Constructor Details
#initialize(badge: nil, sound: nil, push_alert: nil, message: nil, custom_field: nil, push_token: nil, apns_env: nil) ⇒ Apns
Returns a new instance of Apns.
5 6 7 8 9 10 11 12 13 |
# File 'lib/kakao_push/apns.rb', line 5 def initialize(badge: nil, sound: nil, push_alert: nil, message: nil, custom_field: nil, push_token: nil, apns_env: nil) @badge = badge @sound = sound @push_alert = push_alert @message = @custom_field = custom_field @push_token = push_token @apns_env = apns_env end |