Sha256: e010563409b7f6a9b4f9bdd1fbbefa8c5717431af95b9fde21a7cde561489ee3
Contents?: true
Size: 501 Bytes
Versions: 5
Compression:
Stored size: 501 Bytes
Contents
module Roqua module CoreApi module Sessions class BasicAuthSession < AuthSession attr_reader :username attr_reader :password def initialize(username: ENV['CORE_KEY'], password: ENV['CORE_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