Update api-examples/ruby/apiv2.rb

Fix bug in creation_time