Sha256: 1a4fa47f1511de9c9b1706bbfd7b37a27fa22fb233ebd24cc35aa1558d418ba3
Contents?: true
Size: 683 Bytes
Versions: 1
Compression:
Stored size: 683 Bytes
Contents
# frozen_string_literal: true require_relative "base" module Monday module Resources # Represents Monday.com's board view resource. class BoardView < Base 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 query(args: {}, select: DEFAULT_SELECT) request_query = "query{boards#{Util.format_args(args)}{views{#{Util.format_select(select)}}}}" make_request(request_query) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
monday_ruby-1.0.0 | lib/monday/resources/board_view.rb |