Class: Pike13::API::V2::Front::EventOccurrenceNote
- Defined in:
- lib/pike13/api/v2/front/event_occurrence_note.rb
Class Method Summary collapse
-
.all(event_occurrence_id:, **params) ⇒ Object
GET /front/event_occurrences/:event_occurrence_id/notes.
-
.find(event_occurrence_id:, id:) ⇒ Object
GET /front/event_occurrences/:event_occurrence_id/notes/:id.
Methods inherited from Base
Class Method Details
.all(event_occurrence_id:, **params) ⇒ Object
GET /front/event_occurrences/:event_occurrence_id/notes
10 11 12 |
# File 'lib/pike13/api/v2/front/event_occurrence_note.rb', line 10 def all(event_occurrence_id:, **params) client.get("front/event_occurrences/#{event_occurrence_id}/notes", params) end |
.find(event_occurrence_id:, id:) ⇒ Object
GET /front/event_occurrences/:event_occurrence_id/notes/:id
15 16 17 |
# File 'lib/pike13/api/v2/front/event_occurrence_note.rb', line 15 def find(event_occurrence_id:, id:) client.get("front/event_occurrences/#{event_occurrence_id}/notes/#{id}") end |