Class: Pike13::API::V2::Front::EventOccurrenceNote

Inherits:
Base
  • Object
show all
Defined in:
lib/pike13/api/v2/front/event_occurrence_note.rb

Class Method Summary collapse

Methods inherited from Base

client, configure

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