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, 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, return_url: nil, custom_field: nil, push_token: nil) ⇒ Gcm
Returns a new instance of Gcm.
5 6 7 8 9 10 11 |
# File 'lib/kakao_push/gcm.rb', line 5 def initialize(collapse: nil, delay_while_idle: nil, return_url: nil, custom_field: nil, push_token: nil) @collapse = collapse @delay_while_idle = delay_while_idle @return_url = return_url @custom_field = custom_field @push_token = push_token end |