add ruby code example to api page https://gist.github.com/marckohlbrugge/7af366e82d7efc630fe68f4d21bfd360