Sha256: c741b2fc9542ce9099698acda8822f710e14d0288ef3e5cece75e73600ccadd0
Contents?: true
Size: 647 Bytes
Versions: 1
Compression:
Stored size: 647 Bytes
Contents
# frozen_string_literal: true module Monday module Resources # Represents Monday.com's board view resource. module BoardView DEFAULT_SELECT = %w[id name type].freeze # Retrieves board views from a specific board. # # Allows filtering views using the args option. # Allows customizing the values to retrieve using the select option. # By default, ID, name and type fields are retrieved. def board_views(args: {}, select: DEFAULT_SELECT) query = "query { boards#{Util.format_args(args)} { views {#{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/board_view.rb |