portfoliomanager-rb 0.0.3 → 0.0.4

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: 43b42a5257f69bce34a27d3567a956851f14abcc8b1293c0110798f1f446d32e
4
- data.tar.gz: 2a9ce645f053a7c89f6da36132735486e3260bb6327bc9718ca4ab96bd8f4452
3
+ metadata.gz: c70278e64a2387ba454a340c40aa063c5ee2a96c8a6b9607304fd069870d069f
4
+ data.tar.gz: 1d084d74a423be8559342bb0502f515bfcd928232a10082bd3acf0dee88057af
5
5
  SHA512:
6
- metadata.gz: eb6bd1a519f32680ea311dc71fb5e9cf18ad53fb65564eb9261971c95067a561e0a6abce6d3bf50dc9d2ed6e10e877842c165a1a6d62301642abeed2c9886e28
7
- data.tar.gz: 149c26cd94290fe054a3505de2c8c69439f1bbbd980eb9811445f026837c504df682d387cd6ac790e27f8a7eb8c1f0f03bfe34d3528708af0e83296529bc245b
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::SharingResponseType, basic_auth: true)
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::SharingResponseType, basic_auth: true)
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::SharingResponseType, basic_auth: true)
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
@@ -1,3 +1,3 @@
1
1
  module PortfolioManager
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
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.3
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-13 00:00:00.000000000 Z
11
+ date: 2024-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logger-application