updox 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -2
- data/lib/updox/models/user.rb +11 -1
- data/lib/updox/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: 8604746ac781e33f667d93387c089f6924718494b9da372a0b3b1637b62ead92
|
4
|
+
data.tar.gz: 0ea57587a39511f7560cb74e5924bf753e9b3d2553b48c03e3cdcfe2c108f0a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62ec208b18f8140c4c29266545102378c0358c9d78ac9c8bbb3c1af1cb9e929a6e687904ba406aff55460a0471af7c7dbe62a70efb444c32c623d6f9bba30a42
|
7
|
+
data.tar.gz: b5803af828e248c116bb323f5b69c271431bc4eaf734d14ce88ceeb70ff861b6a76881b3d79ff5a752694577e672c28387dc6d044dad1642cec1effb5a73a5a6
|
data/CHANGELOG.md
CHANGED
@@ -4,7 +4,11 @@ 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.
|
7
|
+
## [0.11.0] - [2020-02-19]
|
8
|
+
### Added
|
9
|
+
- More fields to User model
|
10
|
+
|
11
|
+
## [0.10.0] - [2020-02-19]
|
8
12
|
### Fixed
|
9
13
|
- Bug with User#exists? always returning true
|
10
14
|
|
@@ -76,7 +80,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
76
80
|
### Added
|
77
81
|
- Initial Release with ability to ping Updox api
|
78
82
|
|
79
|
-
[0.
|
83
|
+
[0.12.0]: https://github.com/WeInfuse/updox/compare/v0.11.0...HEAD
|
84
|
+
[0.11.0]: https://github.com/WeInfuse/updox/compare/v0.10.0...v0.11.0
|
85
|
+
[0.10.0]: https://github.com/WeInfuse/updox/compare/v0.9.0...v0.10.0
|
80
86
|
[0.9.0]: https://github.com/WeInfuse/updox/compare/v0.8.0...v0.9.0
|
81
87
|
[0.8.0]: https://github.com/WeInfuse/updox/compare/v0.7.0...v0.8.0
|
82
88
|
[0.7.0]: https://github.com/WeInfuse/updox/compare/v0.6.0...v0.7.0
|
data/lib/updox/models/user.rb
CHANGED
@@ -21,14 +21,24 @@ module Updox
|
|
21
21
|
property :city
|
22
22
|
property :state
|
23
23
|
property :postal
|
24
|
+
property :timeZone, from: :time_zone
|
25
|
+
property :metadata
|
26
|
+
property :vetted
|
27
|
+
property :active, default: true
|
28
|
+
property :searchOptOut, from: :search_opt_out, default: true
|
29
|
+
property :npi
|
30
|
+
property :providerTaxonomyCode, from: :provider_taxonomy_code
|
31
|
+
property :directAddress, from: :direct_address
|
24
32
|
property :provider, default: false
|
25
33
|
property :admin, default: false
|
26
|
-
property :searchOptOut, from: :search_opt_out, default: true
|
27
34
|
|
28
35
|
alias_method :user_id, :userId
|
29
36
|
alias_method :first_name, :firstName
|
30
37
|
alias_method :last_name, :lastName
|
31
38
|
alias_method :login_password, :loginPassword
|
39
|
+
alias_method :time_zone, :timeZone
|
40
|
+
alias_method :provider_taxonomy_code, :providerTaxonomyCode
|
41
|
+
alias_method :direct_address, :directAddress
|
32
42
|
|
33
43
|
def create(account_id: )
|
34
44
|
self.class.request(endpoint: SAVE_ENDPOINT, body: self.to_h, auth: {accountId: account_id}, required_auths: Updox::Models::Auth::AUTH_ACCT)
|
data/lib/updox/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: updox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Crockett
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-02-
|
11
|
+
date: 2020-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|