Class: Pike13::API::V2::Front::StaffMember

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

Class Method Summary collapse

Methods inherited from Base

client, configure

Class Method Details

.allObject

GET /front/staff_members



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

def all
  client.get("front/staff_members")
end

.find(id) ⇒ Object

GET /front/staff_members/:id



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

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