lib/alula/client_configuration.rb in alula-ruby-1.8.0 vs lib/alula/client_configuration.rb in alula-ruby-1.8.1

- old
+ new

@@ -1,8 +1,9 @@ module Alula class ClientConfiguration attr_accessor :api_url, :video_api_url, :debug, :user_agent - REQUEST_ATTRIBUTES = %i[api_key video_api_key customer_id internal] + + REQUEST_ATTRIBUTES = %i[api_key video_api_key customer_id internal impersonator_api_key] # Using RequestStore so we're thread safe even with our non-thread-safe architecture :( REQUEST_ATTRIBUTES.each do |prop| define_method(prop) do RequestStore.store["alula_#{prop}"]