Method: AEMO::MSATS.msats_limits
- Defined in:
- lib/aemo/msats.rb
.msats_limits(options = {}) ⇒ Hash
MSATS Limits /MSATSLimits/PARTICIPANT_IDENTIFIER?transactionId=XXX
79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'lib/aemo/msats.rb', line 79 def msats_limits( = {}) query = { transactionId: transaction_id } response = get("/MSATSLimits/#{@participant_id}", basic_auth: @auth, headers: HEADERS, query:, verify: ([:verify_ssl] != false)) if response.response.code == '200' response.parsed_response['aseXML']['Transactions']['Transaction']['ReportResponse']['ReportResults'] else response end end |