module Channels
  class Channel < Channels::Base
    def self.properties(user_id)
      response = get "/channels?id=#{user_id}"
      return {} unless response.success? && response.body["results"].present?
      return response.body["results"].first
    end
  end
end
