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

google-api --discovery-uri throws an exception #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
  1. ./google-api execute my.method \
       --uri http://localhost:8080 \
       --discovery-uri foo

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

Not to throw an exception.

/google-api:241:in `client': undefined method `discovery_uri=' for 
#<Google::APIClient:0x87ef5d8> (NoMethodError)
        from ./google-api:419:in `execute'
        from ./google-api:182:in `parse!'
        from ./google-api:521:in `<main>'

What version of the product are you using? On what operating system?

commit 15a372cedb6e53fce2d17c2acf66910b4d6f22f3
Ubuntu 11.04

Please provide any additional information below.

I am experiment with the Google API, and writing my own service.  I want to use 
the ruby client for initial testing, but I appear to be failing out of the gate.

Original issue reported on code.google.com by boume...@gmail.com on 2 Oct 2011 at 1:35

GoogleCodeExporter commented 9 years ago
Ooops, looks like the CLI and library got out-of-sync. I really need to get 
some tests going for the CLI piece to avoid this kind of thing.

Original comment by bobaman@google.com on 3 Oct 2011 at 11:22

GoogleCodeExporter commented 9 years ago

Original comment by bobaman@google.com on 6 Oct 2011 at 9:36

GoogleCodeExporter commented 9 years ago
Issue 21 has been merged into this issue.

Original comment by bobaman@google.com on 7 Oct 2011 at 9:21