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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 12ad7bbe1c13fdf8dc0231f9e9f916991a652f05
4
- data.tar.gz: 7ce7fd1a22ecbcc5559ea4d83c00273068baa4e8
3
+ metadata.gz: 15d018c329b70c978813c3fd598c4175042f5cbe
4
+ data.tar.gz: 9ef5f241924d4c7c7444046c75134d98f2b3872a
5
5
  SHA512:
6
- metadata.gz: de16d4331ed9091b0cf1df92fb35517b23db057ae8972d7f8bcd940c135d5f6b9d7ef45676b6369f8e15c00adb4a009ce0f5f354904a124e3f0a3b374a848e50
7
- data.tar.gz: f3dcf4364c8127766efedf20c693434583e4b9ffc94acccc4d10541c7a60eb6256cafed4d2c151c883806a43b5171bc878c2d17ef4e9229e97068f180c9f2d49
6
+ metadata.gz: b5bdb3d3b81d6b057f358ea0b86f9cbd548f8ce1ad1238db292c3077d7454a7bdbdb8521f610bade58b3fe226b595061f4f29528b6c6691e7f30c30a64f79f38
7
+ data.tar.gz: eed6a8ceb17cbb442d7eeb55c9b18a4a723ef9f1ad134bdc390a198f8b8f3a9ab565eb11fba68e39dc26a00f90851527a344614a7cc302818733a86edbd2ec97
@@ -26,5 +26,6 @@ module AthenaHealth
26
26
  attribute :ecommercecreditcardtypes, Array
27
27
  attribute :zip, String
28
28
  attribute :communicatorbrandid, Integer
29
+ attribute :providerlist, Array
29
30
  end
30
31
  end
@@ -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",
@@ -1,3 +1,3 @@
1
1
  module AthenaHealth
2
- VERSION = '1.0.11'.freeze
2
+ VERSION = '1.0.12'.freeze
3
3
  end
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.11
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-12 00:00:00.000000000 Z
11
+ date: 2016-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus