imperituroard 0.3.7 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/imperituroard/version.rb +1 -1
- data/lib/imperituroard.rb +4 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 105b8bfcf0691a85c3e70bd793cceb9cfde52aa4
|
4
|
+
data.tar.gz: 6bed91d82f8ae0174587ddc05837284411b218d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dccc03ba30a1ca692af12363c70ee3f405a73d87e3a767784b750661ca2b926efd9dba540876b76dae5f90e6091252b643e3bc6acd35d9f77fda88c6e22c27cd
|
7
|
+
data.tar.gz: 9d4917de0ab216a8a6e76379879793833c526768bd11a13f70efcfd1c512d44617305dc864821fb447b430485a72124a6cfee58f5739ac038a47597e45568207
|
data/lib/imperituroard.rb
CHANGED
@@ -797,7 +797,7 @@ end
|
|
797
797
|
|
798
798
|
class Mhub_2
|
799
799
|
|
800
|
-
attr_accessor :sk_url, :sk_login, :sk_password, :mhub_connector
|
800
|
+
attr_accessor :sk_url, :sk_login, :sk_password, :mhub_connector, :internal_func
|
801
801
|
|
802
802
|
def initialize(sk_url, sk_login, sk_password, telegram_api_url, telegram_chat_id)
|
803
803
|
@sk_url = sk_url
|
@@ -847,16 +847,17 @@ class Mhub_2
|
|
847
847
|
|
848
848
|
else
|
849
849
|
|
850
|
-
output_params = {:
|
850
|
+
output_params = {"code": 500, "result": "Invalid input data"}
|
851
851
|
|
852
852
|
end
|
853
853
|
|
854
854
|
rescue
|
855
|
-
output_params = {:
|
855
|
+
output_params = {"code": 500, "result": "Invalid input data"}
|
856
856
|
end
|
857
857
|
|
858
858
|
internal_func.printer_texter({:input => input_params, :output => output_params, :procedure => "Mhub_2.get_send_message"}, "debug")
|
859
859
|
|
860
|
+
output_params
|
860
861
|
|
861
862
|
end
|
862
863
|
|