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