Class: Nylas::Lists
- Includes:
- ApiOperations::Post
- Defined in:
- lib/nylas/resources/lists.rb
Overview
Nylas Lists API
Lists are typed collections of domains, TLDs, or email addresses that can
be referenced by Rules using the in_list condition operator.
Instance Method Summary collapse
-
#create(request_body:) ⇒ Array(Hash, String, Hash)
Create a list for the application.
Methods inherited from Resource
Constructor Details
This class inherits a constructor from Nylas::Resource
Instance Method Details
#create(request_body:) ⇒ Array(Hash, String, Hash)
Create a list for the application.
29 30 31 32 33 34 |
# File 'lib/nylas/resources/lists.rb', line 29 def create(request_body:) post( path: "#{api_uri}/v3/lists", request_body: request_body ) end |