Updated documentation for Ruby API