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 +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +2 -1
- data/lib/luma/provider.rb +2 -5
- data/lib/luma/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7376e18f5c6bd2d23586d170c298281394d7e8e2d6936923f903f9fe2e6d9cd7
|
4
|
+
data.tar.gz: 95eb1b2a96bf03bfe142b557ed1a4369034c741d0dd6d4ce16bd6cf787efbd4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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,
|
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
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.
|
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-
|
11
|
+
date: 2021-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|