yolk / mite-rb

The official ruby library for interacting with the RESTful mite.api.
http://mite.yo.lk/en/api
MIT License
21 stars 10 forks source link

Is the API ruby wrapper broken? #7

Closed mattherick closed 10 years ago

mattherick commented 10 years ago

I get the following error while creating a project or customer. My Mite API credentials are correct.

project = Mite::Project.create(:name => 'Playing with the mite.api')

DEPRECATION WARNING: Returning errors as a hash without a root "errors" key is deprecated. (called from create at (irb):35) NoMethodError: undefined method `each' for "Bitte gib dem Projekt einen Namen.":String

yolk commented 10 years ago

There seem to be some major issues with ActiveResource 4.0. I'll take a closer look into it later today.

yolk commented 10 years ago

Please try version 0.5.3 and see if it fixes your issues.

Thanks for bringing the issue to the table, Sebastian.

mattherick commented 10 years ago

Thanks! Works perfect now!