Module: TenThousandFeet::API::LeaveTypes

Included in:
Client
Defined in:
lib/ten_thousand_feet/api/leave_types.rb

Instance Method Summary collapse

Instance Method Details

#get_leave_types(options = {}) ⇒ Object



4
5
6
# File 'lib/ten_thousand_feet/api/leave_types.rb', line 4

def get_leave_types(options = {})
  get('/leave_types', options)
end

#show_leave_type(id, options = {}) ⇒ Object



8
9
10
# File 'lib/ten_thousand_feet/api/leave_types.rb', line 8

def show_leave_type(id, options = {})
  get("/leave_types/#{id}", options)
end