lib/centaman/service.rb in centaman-2.1.0 vs lib/centaman/service.rb in centaman-3.0.0

- old
+ new

@@ -28,9 +28,10 @@ self.class.get(endpoint, payload(:get)) end resp = wrap_request_in_case_of_timeout(req, timeout_time: 20) raise resp['Message'] if resp.is_a?(Hash) + raise Exceptions::CentamanTimeout unless resp.success? resp end end def post