lib/arii/client.rb in arii-1.2.2 vs lib/arii/client.rb in arii-1.5
- old
+ new
@@ -7,10 +7,10 @@
# => Load configuration properties from client/script code
#
def initialize config, log
begin
@config = config
- ARII::Config.set_access_token config[:server][:api_key]
+ ARII::Config.set_access_token config[:server][:access_token]
ARII::Config.set_host config[:server][:host]
ARII::Config.set_log log
ARII::Config.log.info(self.class.name) { 'Configuration loaded successfully.' }
rescue Exception => e
\ No newline at end of file