title: accessing ruby object attribute
body: <p>i am using oauth to create an oauth object which looks like this - </p>
  
  <pre><code>&gt;&gt; y @oauth
  --- !ruby/object:LinkedIn::Oauth 
  api_key: ggrgergrgrgrg
  api_secret: 
  consumer: &amp;id001 !ruby/object:OAuth::Consumer 
  key: ggergergrgrg
  options: 
     blah blah
  </code></pre>
  
  <p>I can access </p>
  
  <p>@oauth.consumer but not @oauth.api_key</p>
  
  <p>Any ideas ?</p>
  
  <p>Thanks, Alex</p>