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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0f4af10b3ec008b77bea0c37f1be57bd512568e0
4
- data.tar.gz: 2fcd455b3e5672313174d0933c0594a069a5d30d
3
+ metadata.gz: 492bcc070fa7cc6e01ec6cba176b513bca95ec24
4
+ data.tar.gz: 33d6c6323d4c4d31e26a200cf3f7dfa5cbd8cb01
5
5
  SHA512:
6
- metadata.gz: 703589a80b3ec5dcd218ed1d27c93717486f0aff70aadf93c0767978a3d8caf0a307c4eab5c9600703be1dad31518ef16d5070885439415b5f6803e9fbdbff39
7
- data.tar.gz: e3e985750a0c90783b79a653a3c9b4bbbdbbcd274b4e48f0cb4a3ea7ca3a59dea539b788705a58f85668fee249805c814b634bf973e3e1fb45a9e81f523bbfcf
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
@@ -1,3 +1,3 @@
1
1
  module AthenaHealth
2
- VERSION = '0.8.1'.freeze
2
+ VERSION = '0.8.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: athena_health
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mateusz Urbański