ip2k / google-api-ruby-client

Automatically exported from code.google.com/p/google-api-ruby-client
Apache License 2.0
0 stars 0 forks source link

undefined method `JWTAsserter' for Google::APIClient:Class (NoMethodError) google-api-client gem 0.5.0 #68

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install the google-api-client gem
2. in the console: key = 
Google::APIClient::PKCS12.load_key('/path/to/private/key', 'notasecret')
3. service_account = 
Google::APIClient::JWTAsserter('me@developer.gserviceaccount.com','https://www.g
oogleapis.com/auth/prediction',key)

What is the expected output? What do you see instead?

Expect a JWT asserter.
See 'undefined method `JWTAsserter' for Google::APIClient:Class (NoMethodError) 
'

What version of the product are you using? On what operating system?
0.5.0 
Mac OSX mountain lion

Please provide any additional information below.

Original issue reported on code.google.com by t...@mycoachpractice.com on 2 Nov 2012 at 9:48

GoogleCodeExporter commented 9 years ago
Doc bug -- README.md should read "...JWTAsserter.new(..."
Fixed the docs. You can also take a look at the samples repository for how to 
use service accounts.

Original comment by sba...@google.com on 2 Nov 2012 at 7:49