title: Retrieve screen name from twitter account?
body: <p>Is it possible to get a twitter account's username from an instance of the Twitter REST client?  Specifically, I would like to get the name for the twitter account associated with the client's access tokens and secrets.  </p>
  
  <p>I searched through the <a href="http://www.rubydoc.info/gems/twitter/Twitter/REST/Users" rel="nofollow noreferrer">twitter gem documentation on rubydoc</a> and looked at the <a href="https://developer.twitter.com/en/docs/tweets/data-dictionary/overview/user-object" rel="nofollow noreferrer">Twitter API user object documentation</a> but wasn't able to solve the problem.  I did try using <code>client.attributes</code>, <code>client.to_h</code> and <code>client.screen_name</code>, but received an unknown method error.</p>
  
  <p>For context, I'm currently working on a twitter bot that auto-replies to hashtags when it is looped into a conversation.  We want to prevent the bot from tweeting at itself, so we are currently hard-coding in the bot name as an account not to tweet at.  It would be helpful if we could replace the hard-coded name with something like <code>client.account_name</code>.</p>
  
  <p>Thanks for reading.</p>