Sha256: b446ca7f44404567d748da5dc6a0f9cf8c659fe3e2823eb28e9cd43f2bd664c4
Contents?: true
Size: 578 Bytes
Versions: 5
Compression:
Stored size: 578 Bytes
Contents
module Roqua module CoreApi module Sessions class BasicAuthSession < AuthSession attr_reader :username attr_reader :password def initialize(username: ENV.fetch('CORE_BASICAUTH_ID'), password: ENV.fetch('CORE_BASICAUTH_SECRET'), **additional_arguments) @username = username @password = password super additional_arguments end private def basic_auth {username: username, password: password} end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems