portfoliomanager-rb 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/portfolio_manager/services/connection.rb +3 -3
- data/lib/portfolio_manager/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: c70278e64a2387ba454a340c40aa063c5ee2a96c8a6b9607304fd069870d069f
|
4
|
+
data.tar.gz: 1d084d74a423be8559342bb0502f515bfcd928232a10082bd3acf0dee88057af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f01ba843cb75e96cab5431221565dd796c50702997e245b5964a05218f93217abf45c086acb057e16b3378835b4b481f659c215da33be5cc87fe22f830ac3c91
|
7
|
+
data.tar.gz: fef17b4389e9ee2b05dd74c33fff311e621b34d52f6222fc3b9fbe702f3d9a973ba30aa6cb9a898f246d305b840db99ee6e0191b906dd451b6d1d9e870beaea9
|
data/CHANGELOG.md
CHANGED
@@ -18,7 +18,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
18
18
|
## [0.0.3] - 2024-05-13
|
19
19
|
- Update from v21 to v22.
|
20
20
|
|
21
|
+
## [0.0.4] - 2024-05-14
|
22
|
+
- Fix return value classes for `PortfolioManager::Services::Connection::ConnectionShare::Live#accept_reject_pending_connection_requests`, `PortfolioManager::Services::Connection::ConnectionShare::Live#accept_reject_pending_meter_share_requests`, and `PortfolioManager::Services::Connection::ConnectionShare::Live#accept_reject_pending_property_share_requests` methods.
|
23
|
+
|
21
24
|
[Unreleased]: https://github.com/pnnl/portfoliomanager-rb/compare/v0.0.1...HEAD
|
22
25
|
[0.0.1]: https://github.com/pnnl/portfoliomanager-rb/releases/tag/v0.0.1
|
23
26
|
[0.0.2]: https://github.com/pnnl/portfoliomanager-rb/releases/tag/v0.0.2
|
24
27
|
[0.0.3]: https://github.com/pnnl/portfoliomanager-rb/releases/tag/v0.0.3
|
28
|
+
[0.0.4]: https://github.com/pnnl/portfoliomanager-rb/releases/tag/v0.0.4
|
@@ -38,7 +38,7 @@ module PortfolioManager
|
|
38
38
|
# @raise [PortfolioManager::HTTPResponseError]
|
39
39
|
# @see https://portfoliomanager.energystar.gov/webservices/home/api/connection/connect/post
|
40
40
|
def accept_reject_pending_connection_requests(account_id, sharing_response)
|
41
|
-
request(Net::HTTP::Post, path_for("connect", "account", account_id), {}, {}, sharing_response, "sharingResponse", PortfolioManager::Xml::
|
41
|
+
request(Net::HTTP::Post, path_for("connect", "account", account_id), {}, {}, sharing_response, "sharingResponse", PortfolioManager::Xml::ResponseType, basic_auth: true)
|
42
42
|
end
|
43
43
|
|
44
44
|
# Accept/Reject Pending Meter Share Requests
|
@@ -54,7 +54,7 @@ module PortfolioManager
|
|
54
54
|
# @raise [PortfolioManager::HTTPResponseError]
|
55
55
|
# @see https://portfoliomanager.energystar.gov/webservices/home/api/connection/shareMeter/post
|
56
56
|
def accept_reject_pending_meter_share_requests(meter_id, sharing_response)
|
57
|
-
request(Net::HTTP::Post, path_for("share", "meter", meter_id), {}, {}, sharing_response, "sharingResponse", PortfolioManager::Xml::
|
57
|
+
request(Net::HTTP::Post, path_for("share", "meter", meter_id), {}, {}, sharing_response, "sharingResponse", PortfolioManager::Xml::ResponseType, basic_auth: true)
|
58
58
|
end
|
59
59
|
|
60
60
|
# Accept/Reject Pending Property Share Requests
|
@@ -70,7 +70,7 @@ module PortfolioManager
|
|
70
70
|
# @raise [PortfolioManager::HTTPResponseError]
|
71
71
|
# @see https://portfoliomanager.energystar.gov/webservices/home/api/connection/shareProperty/post
|
72
72
|
def accept_reject_pending_property_share_requests(property_id, sharing_response)
|
73
|
-
request(Net::HTTP::Post, path_for("share", "property", property_id), {}, {}, sharing_response, "sharingResponse", PortfolioManager::Xml::
|
73
|
+
request(Net::HTTP::Post, path_for("share", "property", property_id), {}, {}, sharing_response, "sharingResponse", PortfolioManager::Xml::ResponseType, basic_auth: true)
|
74
74
|
end
|
75
75
|
|
76
76
|
# Disconnect From Customer
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: portfoliomanager-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Borkum
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logger-application
|