Sha256: a826ac9aba0f11f654f0f78d63cd788faed3770a3868a6f15a67a983a226cb6a
Contents?: true
Size: 759 Bytes
Versions: 1
Compression:
Stored size: 759 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
monday_ruby-0.6.2 | lib/monday/resources/activity_log.rb |