File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,8 @@ def users(params = {})
120
120
# @param custom_string [String] Allows signing additional data
121
121
# @return [String]
122
122
#
123
+ # @raise [Pusher::Error] if socket_id or custom_string invalid
124
+ #
123
125
def authentication_string ( socket_id , custom_string = nil )
124
126
validate_socket_id ( socket_id )
125
127
@@ -157,6 +159,8 @@ def authentication_string(socket_id, custom_string = nil)
157
159
#
158
160
# @return [Hash]
159
161
#
162
+ # @raise [Pusher::Error] if socket_id or custom_data is invalid
163
+ #
160
164
# @private Custom data is sent to server as JSON-encoded string
161
165
#
162
166
def authenticate ( socket_id , custom_data = nil )
Original file line number Diff line number Diff line change @@ -345,6 +345,8 @@ def notify(interests, data = {})
345
345
#
346
346
# @return [Hash]
347
347
#
348
+ # @raise [Pusher::Error] if channel_name or socket_id are invalid
349
+ #
348
350
# @private Custom data is sent to server as JSON-encoded string
349
351
#
350
352
def authenticate ( channel_name , socket_id , custom_data = nil )
You can’t perform that action at this time.
0 commit comments