-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
protected methods #191
Comments
@mattheworiordan could you please clarify what's needed to be done here? Do you want to make private methods marked with |
See https://github.com/ably/ably-ruby/blob/main/lib/ably/rest/client.rb#L81-L89 for example. These are actually public methods, but only flagged as |
@mattheworiordan thanks for the reply. |
Protected methods are used sparingly, with instead private APIs that need to be public exposed as annotated
@private
methods (which only affects docs) - see https://github.com/ably/ably-ruby/blob/master/lib/ably/rest/client.rb#L92-L95.There were reasons at the outset why
protected
was not used, which I cannot recall. Perhaps backwards compatibility with older versions of Ruby, something I doubt is needed now.┆Issue is synchronized with this Jira Story by Unito
The text was updated successfully, but these errors were encountered: