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
Protected methods are used sparingly, with instead private APIs that need to be public exposed as annotated
@privatemethods (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
protectedwas 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