athena_health 0.3.0 → 0.4.0

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: 77e416329d6f818297a22516bc3bc7d4160a4051
4
- data.tar.gz: b98a97a52574be96e084999d20e9a5b4eb0744d0
3
+ metadata.gz: 67ee5c98230878580032feeaf3f456b00f8c29a2
4
+ data.tar.gz: 8937ea14d55cfe71ef4110cd9e2b106a878eca1c
5
5
  SHA512:
6
- metadata.gz: cd79d3250cb825bae096b619c11bc9e08d87521c931fb061f5f2b85eafef6a7ed98511a0c074b008368c0bb84ac25c05d76e9f5cd661b620e5b99f73842889cf
7
- data.tar.gz: a340bce4db7ba12169e09723db4b95e43e7fbf4b6215682b12728a8588789374d7ea8b2b45f324106eb1d70949c9cc1abbed770ce636e0c61935de359f253b0a
6
+ metadata.gz: b53096c8bcda84fcdf8a5fb7ed0c1ea5e4fc45c622dff091fb83d6a8074df381f1a41582b03ecfdd3ea194cc3a75e2f82e4e846c53640c2bb61453fe01618be9
7
+ data.tar.gz: 200d15c7f08f5c87b4bbcf0b3f162a8833610ef8fae3b94e8709ba713dc92d6ccb8f881a9f6bfcd0da550d86fc0b340f37771e6d4584d858afbc6a39337a73ac
@@ -8,7 +8,7 @@ module AthenaHealth
8
8
 
9
9
  def find_practice(practice_id:, params: {})
10
10
  response = @api.call(endpoint: "#{practice_id}/practiceinfo", method: :get, params: params)
11
- PracticeCollection.new(response).practiceinfo.first
11
+ PracticeCollection.new(response).practices.first
12
12
  end
13
13
  end
14
14
  end
@@ -1,5 +1,7 @@
1
1
  module AthenaHealth
2
2
  class PracticeCollection < BaseCollection
3
3
  attribute :practiceinfo, Array[Practice]
4
+
5
+ alias_method :practices, :practiceinfo
4
6
  end
5
7
  end
@@ -1,3 +1,3 @@
1
1
  module AthenaHealth
2
- VERSION = '0.3.0'.freeze
2
+ VERSION = '0.4.0'.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.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mateusz Urbański