6 7 8 9 10
# File 'lib/babili/platform/token.rb', line 6 def self.for_user_id(user_id) path = @path.gsub(":user_id", user_id) raw_token = Babili::Client.post(path, {}) raw_token["data"]["attributes"]["token"] end