Method: Smartsheet::CrossSheetReferences#create

Defined in:
lib/smartsheet/endpoints/sheets/cross_sheet_references.rb

#create(sheet_id:, body:, params: {}, header_overrides: {}) ⇒ Object



13
14
15
16
17
18
19
20
21
22
# File 'lib/smartsheet/endpoints/sheets/cross_sheet_references.rb', line 13

def create(sheet_id:, body:, params: {}, header_overrides: {})
  endpoint_spec = Smartsheet::API::EndpointSpec.new(:post, ['sheets', :sheet_id, 'crosssheetreferences'], body_type: :json)
  request_spec = Smartsheet::API::RequestSpec.new(
      header_overrides: header_overrides,
      params: params,
      body: body,
      sheet_id: sheet_id
  )
  client.make_request(endpoint_spec, request_spec)
end