Method: BaseCRM::NotesService#where
- Defined in:
- lib/basecrm/services/notes_service.rb
#where(options = {}) ⇒ Array<Note>
Retrieve all notes
get ‘/notes’
Returns all notes available to the user, according to the parameters provided
38 39 40 41 42 |
# File 'lib/basecrm/services/notes_service.rb', line 38 def where( = {}) _, _, root = @client.get("/notes", ) root[:items].map{ |item| Note.new(item[:data]) } end |