Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/ably/realtime/channel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,8 @@ def clear_error_reason
def update_options(channel_options)
@options = channel_options.clone.freeze
end
alias set_options update_options # (RSL7)
alias options= update_options

# Used by {Ably::Modules::StateEmitter} to debug state changes
# @api private
Expand Down
2 changes: 2 additions & 0 deletions lib/ably/rest/channel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ def presence
def update_options(channel_options)
@options = channel_options.clone.freeze
end
alias set_options update_options # (RSL7)
alias options= update_options

private
def base_path
Expand Down