lib/smess/outputs/smsglobal.rb in smess-1.0.4 vs lib/smess/outputs/smsglobal.rb in smess-1.0.5
- old
+ new
@@ -6,18 +6,10 @@
def deliver
request.url = url
request.body = params
- begin
- response = HTTPI.post request
- result = normal_result(response)
- rescue Exception => e
- logger.warn response
- # connection problem or some error
- result = result_for_error(e)
- end
- result
+ http_post request
end
private
def username
\ No newline at end of file