Sha256: 25fe99eeb247e8d16975c7ede31987505538ea68c771b57cd7b5b7308d5f000b
Contents?: true
Size: 513 Bytes
Versions: 18
Compression:
Stored size: 513 Bytes
Contents
module Panoptes class Client module Discussions # Get list of talk discussions # # @param focus_id [Integer] filter by focussable id # @param focus_type [String] filter by focussable type # @return list of discussions def discussions(focus_id:, focus_type:) query = {} query[:focus_id] = focus_id query[:focus_type] = focus_type response = talk.get("/discussions", query) response.fetch("discussions") end end end end
Version data entries
18 entries across 18 versions & 1 rubygems