Class: Pike13::API::V2::Front::Note
- Defined in:
- lib/pike13/api/v2/front/note.rb
Overview
Notes in Front API are nested under people
Class Method Summary collapse
-
.all(person_id:) ⇒ Object
GET /front/people/:person_id/notes.
-
.find(person_id:, id:) ⇒ Object
GET /front/people/:person_id/notes/:id.
Methods inherited from Base
Class Method Details
.all(person_id:) ⇒ Object
GET /front/people/:person_id/notes
11 12 13 |
# File 'lib/pike13/api/v2/front/note.rb', line 11 def all(person_id:) client.get("front/people/#{person_id}/notes") end |
.find(person_id:, id:) ⇒ Object
GET /front/people/:person_id/notes/:id
16 17 18 |
# File 'lib/pike13/api/v2/front/note.rb', line 16 def find(person_id:, id:) client.get("front/people/#{person_id}/notes/#{id}") end |