def send_sms(message_body, phone_no, type = 1)
      request_body = {}
      request_body[:un] = ISMS.username
      request_body[:pwd] = ISMS.password
      request_body[:dstno] = phone_no
      request_body[:msg] = message_body
      request_body[:type] = type

      faraday_response = connection.post do |request|
        request.url SEND_SMS_URL
        request.body = request_body
      end

      parse_response(faraday_response.body)
    end
def send_sms(message_body, phone_no, type = 1)
      request_body = {}
      request_body[:un] = ISMS.username
      request_body[:pwd] = ISMS.password
      request_body[:dstno] = phone_no
      request_body[:msg] = message_body
      request_body[:type] = type

      faraday_response = connection.post do |request|
        request.url SEND_SMS_URL
        request.body = request_body
      end

      parse_response(faraday_response.body)
    end
Returns Hash of :code and :description
 code has the error code number
 description is the error description
 http://www.isms.com.my/sms_api.php#SendSMS_Response