Module: Sanjose

Defined in:
lib/sanjose/client.rb,
lib/sanjose/result.rb,
lib/sanjose/version.rb,
lib/sanjose/connection.rb,
lib/sanjose/notification.rb,
lib/sanjose/multicast_result.rb

Defined Under Namespace

Classes: Client, Connection, MulticastResult, Notification, Result

Constant Summary collapse

GCM_GATEWAY_URI =
"https://android.googleapis.com/gcm/send"
MULTICAST_SIZE =
1000
TOKEN_CANONICAL_REG_ID =
'registration_id'
JSON_SUCCESS =
'success'
JSON_FAILURE =
'failure'
JSON_CANONICAL_IDS =
'canonical_ids'
JSON_MULTICAST_ID =
'multicast_id'
JSON_RESULTS =
'results'
JSON_MESSAGE_ID =
'message_id'
JSON_ERROR =
'error'
ERROR_UNAVAILABLE =
"Unavailable"
BACKOFF_INITIAL_DELAY =

Initial delay before first retry

1000
MAX_BACKOFF_DELAY =

Maximum delay before a retry.

1024000
VERSION =
"0.0.3"