Sha256: 49a4360b90ce6e7467dc388d295dc6b80a85b30502dc08de802fbe401057403e
Contents?: true
Size: 761 Bytes
Versions: 6
Compression:
Stored size: 761 Bytes
Contents
# frozen_string_literal: true module Monday module Resources # Represents Monday.com's activity log resource. module ActivityLog DEFAULT_SELECT = %w[id event data].freeze # Retrieves the activity logs for boards. # # Requires board_ids to retrieve the logs. # Allows filtering activity logs using the args option. # Allows customizing the values to retrieve using the select option. # By default, ID, event and data are retrieved. def activity_logs(board_ids, args: {}, select: DEFAULT_SELECT) query = "query { boards(ids: #{board_ids}) " \ "{ activity_logs(#{Util.format_args(args)}) {#{Util.format_select(select)}}}}" make_request(query) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems