Class: Nylas::SearchCollection
- Inherits:
-
Collection
- Object
- Collection
- Nylas::SearchCollection
- Defined in:
- lib/nylas/search_collection.rb
Overview
Ensures our search requests hit the right path
Instance Attribute Summary
Attributes inherited from Collection
Instance Method Summary collapse
Methods inherited from Collection
#count, #create, #each, #execute, #expanded, #find, #find_each, #find_model, #find_raw, #ids, #initialize, #limit, #more_pages?, #new, #next_page, #offset, #raw, #search, #to_be_executed, #where
Constructor Details
This class inherits a constructor from Nylas::Collection
Instance Method Details
#resources_path ⇒ Object
6 7 8 |
# File 'lib/nylas/search_collection.rb', line 6 def resources_path "#{model.resources_path(api: api)}/search" end |