athena_health 1.0.11 → 1.0.12
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/department.rb +1 -0
- data/lib/athena_health/endpoints/appointments.rb +10 -0
- data/lib/athena_health/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15d018c329b70c978813c3fd598c4175042f5cbe
|
4
|
+
data.tar.gz: 9ef5f241924d4c7c7444046c75134d98f2b3872a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5bdb3d3b81d6b057f358ea0b86f9cbd548f8ce1ad1238db292c3077d7454a7bdbdb8521f610bade58b3fe226b595061f4f29528b6c6691e7f30c30a64f79f38
|
7
|
+
data.tar.gz: eed6a8ceb17cbb442d7eeb55c9b18a4a723ef9f1ad134bdc390a198f8b8f3a9ab565eb11fba68e39dc26a00f90851527a344614a7cc302818733a86edbd2ec97
|
@@ -11,6 +11,16 @@ module AthenaHealth
|
|
11
11
|
AppointmentTypeCollection.new(response)
|
12
12
|
end
|
13
13
|
|
14
|
+
def find_appointment_type(practice_id:, appointment_type_id:, params: {})
|
15
|
+
response = @api.call(
|
16
|
+
endpoint: "#{practice_id}/appointmenttypes/#{appointment_type_id}",
|
17
|
+
method: :get,
|
18
|
+
params: params
|
19
|
+
)
|
20
|
+
|
21
|
+
AppointmentType.new(response.first)
|
22
|
+
end
|
23
|
+
|
14
24
|
def open_appointment_slots(practice_id:, department_id:, provider_id:, params: {})
|
15
25
|
response = @api.call(
|
16
26
|
endpoint: "#{practice_id}/appointments/open",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: athena_health
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mateusz Urbański
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|