class Professionali::Api::PushNotify
Public Instance Methods
is_subscribe(id, type)
click to toggle source
# File lib/professionali/api/push_notify.rb, line 12 def is_subscribe(id, type) api_call 'push-notify/isSubscribe.json', 'get', {id: id, type: type} end
subscribe(id, type)
click to toggle source
# File lib/professionali/api/push_notify.rb, line 4 def subscribe(id, type) api_call 'push-notify/subscribe.json', 'post', {id: id, type: type} end
unsubscribe(id, type)
click to toggle source
# File lib/professionali/api/push_notify.rb, line 8 def unsubscribe(id, type) api_call 'push-notify/unsubscribe.json', 'post', {id: id, type: type} end