{"action":"closed","issue":{"url":"https://api.github.com/repos/paypal/PayPal-Ruby-SDK/issues/92","labels_url":"https://api.github.com/repos/paypal/PayPal-Ruby-SDK/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/paypal/PayPal-Ruby-SDK/issues/92/comments","events_url":"https://api.github.com/repos/paypal/PayPal-Ruby-SDK/issues/92/events","html_url":"https://github.com/paypal/PayPal-Ruby-SDK/issues/92","id":56962737,"number":92,"title":"OpenIDConnect::API:VERSION doesn't autoload","user":{"login":"johnkolen","id":653313,"avatar_url":"https://avatars.githubusercontent.com/u/653313?v=3","gravatar_id":"","url":"https://api.github.com/users/johnkolen","html_url":"https://github.com/johnkolen","followers_url":"https://api.github.com/users/johnkolen/followers","following_url":"https://api.github.com/users/johnkolen/following{/other_user}","gists_url":"https://api.github.com/users/johnkolen/gists{/gist_id}","starred_url":"https://api.github.com/users/johnkolen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnkolen/subscriptions","organizations_url":"https://api.github.com/users/johnkolen/orgs","repos_url":"https://api.github.com/users/johnkolen/repos","events_url":"https://api.github.com/users/johnkolen/events{/privacy}","received_events_url":"https://api.github.com/users/johnkolen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/paypal/PayPal-Ruby-SDK/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-08T18:57:21Z","updated_at":"2015-04-07T14:11:55Z","closed_at":"2015-04-07T14:11:55Z","body":"```ruby\r\nrequire 'paypal-sdk-rest'\r\nputs PayPal::SDK::REST::VERSION\r\n#PayPal::SDK::OpenIDConnect::API::VERSION = PayPal::SDK::REST::VERSION\r\nputs PayPal::SDK::OpenIDConnect::API.user_agent\r\n```\r\nAbove code fragment fails with\r\n1.1.1\r\n/usr/local/rvm/gems/ruby-2.1.2/gems/paypal-sdk-rest-1.1.1/lib/paypal-sdk/core/openid_connect/api.rb:42:in `user_agent': uninitialized constant Class::VERSION (NameError)\r\n\tfrom lib/paypal.rb:6:in `<main>'\r\n\r\nRemove the comment symbol and it works as expected.\r\n1.1.1\r\nPayPalSDK/openid-connect-ruby 1.1.1 (paypal-sdk-core 1.1.1; ruby 2.1.2p95-x86_64-linux)\r\n"}}