Class: KakaoPush::Gcm

Inherits:
Object
  • Object
show all
Includes:
ToHashable
Defined in:
lib/kakao_push/gcm.rb

Instance Method Summary collapse

Methods included from ToHashable

#to_hash

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