Module: Parse::API::Push

Included in:
Client
Defined in:
lib/parse/api/push.rb

Overview

Defines the Parse Push notification service interface for the Parse REST API

Instance Method Summary collapse

Instance Method Details

#push(payload = {}) ⇒ Parse::Response

Update the schema for a collection.

Parameters:

  • payload (Hash) (defaults to: {})

    the paylod for the Push notification.

Returns:

See Also:



15
16
17
# File 'lib/parse/api/push.rb', line 15

def push(payload = {})
  request :post, PUSH_PATH, body: payload.as_json
end