athena_health 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/athena_health/endpoints/providers.rb +10 -0
- data/lib/athena_health/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 492bcc070fa7cc6e01ec6cba176b513bca95ec24
|
4
|
+
data.tar.gz: 33d6c6323d4c4d31e26a200cf3f7dfa5cbd8cb01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93be73a640a2ea9bf67d8a81e1c8cf5c9a5537fe5ac0712443dba69c7c99a468f823e0f9eb92563386ce8607bfd5a5e2a31c5b847c50ff0a1c304d2843bcdbd7
|
7
|
+
data.tar.gz: aebc9680b7d8cf44451679079c0eb20bd62a20c912de36a61969d1d4397b286d76864252868aa6412d1bf9e84b25cd2edb3f657e88bd98e0dffbcc7140cb2bc2
|
@@ -10,6 +10,16 @@ module AthenaHealth
|
|
10
10
|
|
11
11
|
ProviderCollection.new(response)
|
12
12
|
end
|
13
|
+
|
14
|
+
def find_provider(practice_id:, provider_id:, params: {})
|
15
|
+
response = @api.call(
|
16
|
+
endpoint: "#{practice_id}/providers/#{provider_id}",
|
17
|
+
method: :get,
|
18
|
+
params: params
|
19
|
+
)
|
20
|
+
|
21
|
+
Provider.new(response.first)
|
22
|
+
end
|
13
23
|
end
|
14
24
|
end
|
15
25
|
end
|