Method: AEMO::MSATS.authorize
- Defined in:
- lib/aemo/msats.rb
.authorize(participant_id, username, password) ⇒ Hash
Sets the authentication credentials in a class variable.
253 254 255 256 |
# File 'lib/aemo/msats.rb', line 253 def (participant_id, username, password) @participant_id = participant_id @auth = { username:, password: } end |