Can you run this command
gem list discourse_api
to see what version of the discourse_api gem you are using?