luma 0.0.5 → 0.0.6

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
  SHA256:
3
- metadata.gz: 4fa51b1a67a6654b087dd07a6fac2cbfa92d5bdabd78adb9ac1dc7b7a61d4f20
4
- data.tar.gz: 152164770be9e7a8753b0456f2a94b15f2fcfc1f75795b9266b09cb81fbecc20
3
+ metadata.gz: 7376e18f5c6bd2d23586d170c298281394d7e8e2d6936923f903f9fe2e6d9cd7
4
+ data.tar.gz: 95eb1b2a96bf03bfe142b557ed1a4369034c741d0dd6d4ce16bd6cf787efbd4e
5
5
  SHA512:
6
- metadata.gz: 0fd82fa1ded48b2aea24bdedaa370ec498d28fe3be85748974b606273d3be0991ee570d2083c83bd19e5217e8b8181ab063df3abbf31f74ec0595a05c478934a
7
- data.tar.gz: c9769fb14069ad01e56b53f9ac512735ee51f2cab42f003b3bd9eb9a3d59a452e52ae9a21e5db0548de48700463a4f2e3007e9e4f47689fa41f282a568baf9c5
6
+ metadata.gz: 597ae8ee7d3bf4357d2d48afead8ab99e574b0f0e21dbf89e4277317d0570701d73f97d1c4a93c059d6497d1ccdb48558c185223d52cd88189c17a56c883fd79
7
+ data.tar.gz: e525ef5b468fa3e548a07db9886cf24107863b2b117d8741792a1988f7a9921c8749d64a4dd612454431ea0456ce214f4ead0bca12e22f4b01a5e096126a4391
data/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.0.6] - 2021-10-15
8
+
9
+ ### Changed
10
+
11
+ - Adjust provider to accept body parameter
12
+
7
13
  ## [0.0.5] - 2021-10-14
8
14
 
9
15
  ### Changed
@@ -36,6 +42,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
36
42
 
37
43
  - Initial Create
38
44
 
45
+ [0.0.6]: https://github.com/WeInfuse/luma/compare/v0.0.5...v0.0.6
39
46
  [0.0.5]: https://github.com/WeInfuse/luma/compare/v0.0.4...v0.0.5
40
47
  [0.0.4]: https://github.com/WeInfuse/luma/compare/v0.0.3...v0.0.4
41
48
  [0.0.3]: https://github.com/WeInfuse/luma/compare/v0.0.2...v0.0.3
data/README.md CHANGED
@@ -51,7 +51,8 @@ Luma::Facilities.new.create_facility(body: body)
51
51
 
52
52
  ### Create Provider
53
53
  ```ruby
54
- Luma::Provider.new.create_provider(name: 'Billy Bob', npi: 1234567891)
54
+ body = { "name": "Billy Bob 2", "npi": 1234567891 }
55
+ Luma::Provider.new.create_provider(body: body)
55
56
  ```
56
57
 
57
58
  ## Development
data/lib/luma/provider.rb CHANGED
@@ -4,11 +4,8 @@ module Luma
4
4
 
5
5
  base_uri 'https://api.lumahealth.io/'.freeze
6
6
 
7
- def create_provider(endpoint: PROVIDER_ENDPOINT, name: "", npi: nil, headers: {}, auth: true, verb: :post)
8
- @body = {
9
- name: name,
10
- npi: npi
11
- }
7
+ def create_provider(endpoint: PROVIDER_ENDPOINT, body: nil, headers: {}, auth: true, verb: :post)
8
+ @body = body
12
9
 
13
10
  self.add_headers_and_body if auth
14
11
 
data/lib/luma/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Luma
2
- VERSION = '0.0.5'.freeze
2
+ VERSION = '0.0.6'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luma
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Angela Rodriguez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-10-14 00:00:00.000000000 Z
11
+ date: 2021-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty