class PushWoosher::Push

Public Instance Methods

post() click to toggle source
# File lib/push_woosher/push.rb, line 15
def post
  post_action(
    path: resource_path,
    request_hash: request_hash
  )
end
request_hash() click to toggle source
# File lib/push_woosher/push.rb, line 9
def request_hash
  {
    notifications: [notification]
  }
end
resource_path() click to toggle source
# File lib/push_woosher/push.rb, line 5
def resource_path
  'createMessage'
end