chriswarren / desk

A Ruby wrapper for the Desk.com V2 REST API
MIT License
66 stars 80 forks source link

Desk.delete_case is not working #53

Closed carlos4ndre closed 9 years ago

carlos4ndre commented 9 years ago

The delete operation on cases doesn't seem to be supported and according to the README it should be.

Running as the readme example:

Desk.case(2096) # works, case exists
Desk.delete_case(2096) # fails, method is undefined

I get this error message:

NoMethodError: undefined method `delete_case' for Desk:Module
chriswarren commented 9 years ago

Thanks @carlos4ndre. Can you take a look at fixing it in a pull request? I won't have time to check it out soon.

carlos4ndre commented 9 years ago

Sure, it shouldn't be too complicated.

chriswarren commented 9 years ago

Fixed in #54. Thanks!