class Multiwoven::Integrations::Destination::MicrosoftExcel::Client

def get_table(token, drive_id, item_id, sheet_name)

def get_table(token, drive_id, item_id, sheet_name)
  table_url = format(MS_EXCEL_TABLE_API, drive_id: drive_id, item_id: item_id, sheet_name: sheet_name)
  response = Multiwoven::Integrations::Core::HttpClient.request(
    table_url,
    HTTP_GET,
    headers: auth_headers(token)
  )
  JSON.parse(response.body)["value"].first
end