Class: KakaoPush::Gcm
- Inherits:
-
Object
- Object
- KakaoPush::Gcm
- Includes:
- ToHashable
- Defined in:
- lib/kakao_push/gcm.rb
Instance Method Summary collapse
-
#initialize(collapse: nil, delay_while_idle: nil, time_to_live: nil, dry_run: nil, priority: nil, return_url: nil, custom_field: nil, push_token: nil) ⇒ Gcm
constructor
A new instance of Gcm.
Methods included from ToHashable
Constructor Details
#initialize(collapse: nil, delay_while_idle: nil, time_to_live: nil, dry_run: nil, priority: nil, return_url: nil, custom_field: nil, push_token: nil) ⇒ Gcm
Returns a new instance of Gcm.
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/kakao_push/gcm.rb', line 5 def initialize( collapse: nil, delay_while_idle: nil, time_to_live: nil, dry_run: nil, priority: nil, return_url: nil, custom_field: nil, push_token: nil ) @collapse = collapse @delay_while_idle = delay_while_idle @time_to_live = time_to_live @dry_run = dry_run @priority = priority @return_url = return_url @custom_field = custom_field @push_token = push_token end |