class JPush::Client
Attributes
app_key[R]
master_secret[R]
Public Class Methods
new(app_key, master_secret)
click to toggle source
# File lib/jpush/client.rb, line 12 def initialize(app_key, master_secret) @app_key = app_key @master_secret = master_secret end
Public Instance Methods
aliases()
click to toggle source
# File lib/jpush/client.rb, line 25 def aliases @alias ||= Alias.new(self) end
devices()
click to toggle source
# File lib/jpush/client.rb, line 17 def devices @devices ||= Device.new(self) end
pusher()
click to toggle source
# File lib/jpush/client.rb, line 29 def pusher @push ||= Pusher.new(self) end
reporter()
click to toggle source
# File lib/jpush/client.rb, line 33 def reporter @report ||= Report.new(self) end
schedules()
click to toggle source
# File lib/jpush/client.rb, line 37 def schedules @schedule ||= Schedules.new(self) end