lib/imperituroard.rb in imperituroard-1.1.10 vs lib/imperituroard.rb in imperituroard-1.1.11

- old
+ new

@@ -312,11 +312,11 @@ :dabrab_connecter, :static_callback, :crm_connector, :log_level - def initialize(sk_url_simple, sk_login, sk_password, telegram_api_url, telegram_chat_id, sk_url_broadcast, static_callback, crm_callback_url, crm_login, crm_password, sms_alphaname, log_level) + def initialize(sk_url_simple, sk_login, sk_password, telegram_api_url, telegram_chat_id, sk_url_broadcast, static_callback, crm_callback_url, crm_login, crm_password, sms_alphaname, log_level="error") @sk_url = sk_url_simple @sk_login = sk_login @sk_password = sk_password @log_level = log_level @internal_func = InternalFunc.new @@ -339,11 +339,11 @@ def get_send_message(params, ip_src, ip_real, ip_vip) mhub_connector.get_send_message_2(params, ip_src, ip_real, ip_vip) end - def get_send_message_mass(params, ip_src, ip_real, ip_vip) - mhub_connector.get_send_message_mass_2(params, ip_src, ip_real, ip_vip) + def get_send_message_mass(params, ip_src, ip_real, ip_vip, slice_number=100, time_pause_minutes=5) + mhub_connector.get_send_message_mass_2(params, ip_src, ip_real, ip_vip, slice_number, time_pause_minutes) end def recieve_delivery_report(params, ip_src, ip_real, ip_vip) mhub_connector.rec_deliv_report_2(params, ip_src, ip_real, ip_vip) end \ No newline at end of file