Sha256: c6337cd56690626ea8d209d2824527471fb86cc178daeb0112329de6107804a8

Contents?: true

Size: 345 Bytes

Versions: 1

Compression:

Stored size: 345 Bytes

Contents

module Washbullet
  module API
    module Subscriptions
      def subscriptions
        response = get('/v2/subscriptions')

        Washbullet::Channel.from_response(response)
      end

      def channel_info(tag)
        response = get('/v2/channel-info', tag: tag).body

        Washbullet::Channel.new(response)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
washbullet-0.4.0 lib/washbullet/api/subscriptions.rb