Sha256: bd77e45e950ebf2e2a36a9c2ca1fd21a55c1b345cadf2840e83af0f1a8076200
Contents?: true
Size: 557 Bytes
Versions: 1
Compression:
Stored size: 557 Bytes
Contents
# frozen_string_literal: true require_relative "base" module Monday module Resources # Represents Monday.com's account resource. class Account < Base DEFAULT_SELECT = %w[id name].freeze # Retrieves the users account. # # Allows customizing the values to retrieve using the select option. # By default, ID and name are retrieved. def query(select: DEFAULT_SELECT) request_query = "query{users{account {#{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/account.rb |