Class: Pike13::API::V2::Front::Event

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

Class Method Summary collapse

Methods inherited from Base

client, configure

Class Method Details

.all(**params) ⇒ Object

GET /front/events



10
11
12
# File 'lib/pike13/api/v2/front/event.rb', line 10

def all(**params)
  client.get("front/events", params)
end

.find(id) ⇒ Object

GET /front/events/:id



15
16
17
# File 'lib/pike13/api/v2/front/event.rb', line 15

def find(id)
  client.get("front/events/#{id}")
end