athena_health 0.9.1 → 0.9.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: 59d1ffb8e44b7c08e003b0dd695f8e8c61df78c2
4
- data.tar.gz: d33bfe91624e038f5beb0302d9726fe0dee3b218
3
+ metadata.gz: 3de2b6b74fe81cca89fe56465147a5366213925e
4
+ data.tar.gz: c26ae59ba1a9050f160cc7ffd0a3d3805ca2c99e
5
5
  SHA512:
6
- metadata.gz: e9d5b6b96b89bf66e4eabcfc32c570e371495454d0bcf2d6c6b7d5383697f4ad48ecbb088586c2ef921ba32aaabc2ce502e5fbb45616241e3fb610ab67f8527a
7
- data.tar.gz: e8ca901b037a062ef92e95035ec20ae6adddae3e44479c2028c885633ac0cf945edf792798febb01938108f81c3fde6e82fc9b5962a17d317ac58b1a6ac6a8ff
6
+ metadata.gz: 58f9b493eb466e88b3ff65b93b5b357c6ccfd6a211ec7d7c9333c9c24c8ee63e7e41406030765a88ab0128ab0ac29f69669011091a6fff4ac69f09862fdd2a37
7
+ data.tar.gz: 372f1a8e8aec8f273ee5d628caf01bd94378671ac41d0452b92ab40030b81607988f5d30dc55a6b50e21a0ac10b6c1f965ecd37f8c3d1e3a09e260881e0e4335
@@ -11,25 +11,24 @@ module AthenaHealth
11
11
  AppointmentTypeCollection.new(response)
12
12
  end
13
13
 
14
- def open_appointment_slots(practice_id:, department_id:, provider_id:, reason_id:, params: {})
14
+ def open_appointment_slots(practice_id:, department_id:, provider_id:, params: {})
15
15
  response = @api.call(
16
16
  endpoint: "#{practice_id}/appointments/open",
17
17
  method: :get,
18
18
  params: params.merge(
19
19
  departmentid: department_id,
20
20
  providerid: provider_id,
21
- reasonid: reason_id
22
21
  )
23
22
  )
24
23
 
25
24
  AppointmentCollection.new(response)
26
25
  end
27
26
 
28
- def book_appointment(practice_id:, appointment_id:, patient_id:, reason_id:, params: {})
27
+ def book_appointment(practice_id:, appointment_id:, patient_id:, params: {})
29
28
  response = @api.call(
30
29
  endpoint: "#{practice_id}/appointments/#{appointment_id}",
31
30
  method: :put,
32
- params: params.merge(patientid: patient_id, reasonid: reason_id)
31
+ params: params.merge(patientid: patient_id)
33
32
  )
34
33
 
35
34
  Appointment.new(response.first)
@@ -1,3 +1,3 @@
1
1
  module AthenaHealth
2
- VERSION = '0.9.1'.freeze
2
+ VERSION = '0.9.2'.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: 0.9.1
4
+ version: 0.9.2
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-04-04 00:00:00.000000000 Z
11
+ date: 2016-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus