scoop / autotask_api

Ruby API wrapper for the Autotask WebService API
MIT License
14 stars 9 forks source link

wrong number of arguments (1 for 0) (ArgumentError) #1

Closed trepidity closed 10 years ago

trepidity commented 11 years ago

https://gist.github.com/trepidity/7537734

Trying to create a sample call, but I'm getting sample_query.rb:16:in `

': wrong number of arguments (1 for 0) (ArgumentError)

See my gist for the code I'm using.

The commands I'm ran first are gem build autotask_api.gemspec gem install autotask_api gem list|grep autotask autotask_api (0.0.7)

Thanks.

trepidity commented 11 years ago

Found it. I drop the query to read client.query from client.query query. Sample on the website is that correct?