lib/ably/rest/channel/push_channel.rb in ably-1.2.2 vs lib/ably/rest/channel/push_channel.rb in ably-1.2.3
- old
+ new
@@ -1,12 +1,9 @@
module Ably::Rest
class Channel
# A push channel used for push notifications
# Each PushChannel maps to exactly one Rest Channel
#
- # @!attribute [r] channel
- # @return [Ably::Rest::Channel] Underlying channel object
- #
class PushChannel
attr_reader :channel
def initialize(channel)
raise ArgumentError, "Unsupported channel type '#{channel.class}'" unless channel.kind_of?(Ably::Rest::Channel)