Skip to content

Conversation

@RobertLowe
Copy link

sigh

@jayzes
Copy link

jayzes commented May 7, 2016

Would be awesome to get this merged - it just bit me with a cryptic error that took a bit to diagnose:

TypeError: #<Emma::Client:0x007fa55d159640 @account_id="xxxxxx", @public_key="xxxxx", @private_key="xxxxx", @debug=nil, @default_params={:basic_auth=>{:username=>"xxxxx", :password=>"xxxxxx"}}> is not a symbol nor a string

Failing that, for anyone running across this issue, using a block like this instead of the recommended Emma::Setup one works just fine:

em = Emma::Client.new(account_id: ENV['EMMA_ACCOUNT_ID'],
                             public_key: ENV['EMMA_PUBLIC_KEY'],
                             private_key: ENV['EMMA_PRIVATE_KEY'])

@RobertLowe
Copy link
Author

3 years, finally a comment, the system works! 😜

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants