lib/zendesk2/errors.rb in zendesk2-0.0.5 vs lib/zendesk2/errors.rb in zendesk2-0.0.6

- old
+ new

@@ -4,6 +4,14 @@ end def not_found!(*args) not_found.new(args) end + + def unprocessable_entity + Faraday::Error::ClientError + end + + def unprocessable_entity!(*args) + unprocessable_entity.new(args) + end end