Module: AthenaHealth::Endpoints::CustomFields
- Included in:
- Client
- Defined in:
- lib/athena_health/endpoints/custom_fields.rb
Instance Method Summary collapse
Instance Method Details
#all_custom_fields(practice_id:, params: {}) ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/athena_health/endpoints/custom_fields.rb', line 6 def all_custom_fields(practice_id:, params: {}) response = @api.call( endpoint: "#{practice_id}/customfields", method: :get, params: params ) response.map { |field| CustomField.new(field) } end |