Sha256: aa24f2c0216a890d6246a0cd6cef22a53acc7a9dfca96cf0a22a87b4a0eaa73c
Contents?: true
Size: 600 Bytes
Versions: 75
Compression:
Stored size: 600 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
75 entries across 75 versions & 1 rubygems