lib/nylas/resources/folders.rb in nylas-6.0.0 vs lib/nylas/resources/folders.rb in nylas-6.0.1

- old
+ new

@@ -12,12 +12,12 @@ include ApiOperations::Delete # Return all folders. # # @param identifier [String] Grant ID or email account to query. - # @return [Array(Array(Hash), String)] The list of folders and API Request ID. + # @return [Array(Array(Hash), String, String)] The list of folders, API Request ID, and next cursor. def list(identifier:) - get( + get_list( path: "#{api_uri}/v3/grants/#{identifier}/folders" ) end # Return a folder.