lib/smartsheet/endpoints/sheets/sheets.rb in smartsheet-2.77.2 vs lib/smartsheet/endpoints/sheets/sheets.rb in smartsheet-2.86.0
- old
+ new
@@ -9,10 +9,11 @@
require 'smartsheet/endpoints/sheets/comments'
require 'smartsheet/endpoints/sheets/cross_sheet_references'
require 'smartsheet/endpoints/sheets/discussions'
require 'smartsheet/endpoints/sheets/rows'
require 'smartsheet/endpoints/sheets/sheets_attachments'
+require 'smartsheet/endpoints/sheets/sheets_summaries'
require 'smartsheet/endpoints/sheets/sheets_share'
module Smartsheet
# Sheets Endpoints
# @see https://smartsheet-platform.github.io/api-docs/?ruby#sheets API Sheets Docs
@@ -29,19 +30,21 @@
# @return [Comments]
# @!attribute [r] cross_sheet_references
# @return [CrossSheetReferences]
# @!attribute [r] discussions
# @return [Discussions]
+ # @!attribute [r] summaries
+ # @return [Summaries]
# @!attribute [r] rows
# @return [Rows]
# @!attribute [r] share
# @return [SheetsShare]
class Sheets
include Smartsheet::Constants
attr_reader :client, :attachments, :automation_rules, :cells, :columns, :comments,
- :cross_sheet_references, :discussions, :rows, :share
+ :cross_sheet_references, :discussions, :summaries, :rows, :share
private :client
def initialize(client)
@client = client
@@ -50,9 +53,10 @@
@cells = Cells.new(client)
@columns = Columns.new(client)
@comments = Comments.new(client)
@cross_sheet_references = CrossSheetReferences.new(client)
@discussions = Discussions.new(client)
+ @summaries = SheetsSummaries.new(client)
@rows = Rows.new(client)
@share = SheetsShare.new(client)
end
def list(params: {}, header_overrides: {})