{"action":"closed","issue":{"url":"https://api.github.com/repos/stripe/stripe-ruby/issues/266","labels_url":"https://api.github.com/repos/stripe/stripe-ruby/issues/266/labels{/name}","comments_url":"https://api.github.com/repos/stripe/stripe-ruby/issues/266/comments","events_url":"https://api.github.com/repos/stripe/stripe-ruby/issues/266/events","html_url":"https://github.com/stripe/stripe-ruby/issues/266","id":94992593,"number":266,"title":"Stripe::Token.create returns a Stripe::StripeObject rather than Stripe::Token","user":{"login":"kagd","id":472740,"avatar_url":"https://avatars.githubusercontent.com/u/472740?v=3","gravatar_id":"","url":"https://api.github.com/users/kagd","html_url":"https://github.com/kagd","followers_url":"https://api.github.com/users/kagd/followers","following_url":"https://api.github.com/users/kagd/following{/other_user}","gists_url":"https://api.github.com/users/kagd/gists{/gist_id}","starred_url":"https://api.github.com/users/kagd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kagd/subscriptions","organizations_url":"https://api.github.com/users/kagd/orgs","repos_url":"https://api.github.com/users/kagd/repos","events_url":"https://api.github.com/users/kagd/events{/privacy}","received_events_url":"https://api.github.com/users/kagd/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-14T17:07:16Z","updated_at":"2015-08-03T20:05:11Z","closed_at":"2015-08-03T20:05:11Z","body":"I am working against v1.23.0 of the gem.\r\n\r\nWhen I am running `Stripe::Token.create(...)` I am getting a `Stripe::StripeObject` returned rather than `Stripe::Token` as described in the docs (https://stripe.com/docs/api/ruby#create_card_token).\r\n\r\nI am in the process of creating a gem for stubbing stripe requests and I am just wondering if the gem response is what I should be testing against (`Stripe::StripeObject`) or the stripe docs (`Stripe::Token`).\r\n\r\nThank you."}}