Sha256: e116de7492ffc8735571187c80e025d5e28005e4537a28d5c4d2c185eb8feb1d
Contents?: true
Size: 518 Bytes
Versions: 4
Compression:
Stored size: 518 Bytes
Contents
module AthenaHealth module Endpoints module Departments def all_departments(practice_id:, params: {}) response = @api.call(endpoint: "#{practice_id}/departments", method: :get, params: params) DepartmentCollection.new(response) end def find_department(practice_id:, department_id:, params: {}) response = @api.call(endpoint: "#{practice_id}/departments/#{department_id}", method: :get, params: params) Department.new(response.first) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems