01 module Monolith::Auth 02 def initialize(key) 03 @encrypted_key = encrypt(key) 04 end 05 06 def authenticate! 07 Request.post('/v1/session') 08 end 09 end