google / google-api-ruby-client-samples

Samples for the Google API Ruby Client
327 stars 164 forks source link

GA Experiment update without ID causes fatal error #9

Closed jester12345 closed 4 years ago

jester12345 commented 10 years ago

When calling "client.discovered_api('analytics', 'v3').management.experiments.update" and failing to pass in the id attribute to the body, Webrick (test environment) dies with: Illegal instruction: 4

I think I'd prefer it to raise an exception. But, that's just personal preference.