account info example in Ruby