module AthenaHealth::Endpoints::Providers
Public Instance Methods
all_providers(practice_id:, params: {})
click to toggle source
# File lib/athena_health/endpoints/providers.rb, line 4 def all_providers(practice_id:, params: {}) response = @api.call( endpoint: "#{practice_id}/providers", method: :get, params: params ) ProviderCollection.new(response) end
find_provider(practice_id:, provider_id:, params: {})
click to toggle source
# File lib/athena_health/endpoints/providers.rb, line 14 def find_provider(practice_id:, provider_id:, params: {}) response = @api.call( endpoint: "#{practice_id}/providers/#{provider_id}", method: :get, params: params ) Provider.new(response.first) end